Should not hide the true name of classes at the reflective level #12358
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-mirrors
At the base level we hide the implementation details of integers, strings, etc.
1.runtimeType.toString() == 0xFFFFFFFFFFFFFFFFFF.runtimeType.toString()
But at the reflective level, we should not.
reflect('').type != reflectClass(String)
We are currently hiding their distinct names
reflect('').type.simpleName == reflectClass(String).simpleName
which shouldn't be the case.
The text was updated successfully, but these errors were encountered: