Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix downcast check in slow array copy
When we have to resort to checking element by element, compare the type of each actual element with the destination type. In particular, not the destinations underlying type when it's an enum - we don't want to allow unrelated enums using the same representation to copy over. Fixes #64387
- Loading branch information