-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-mirrorstype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Example:
import "dart:mirrors";
typedef Rec = (int,);
void main() {
reflectClass(Rec);
}
I know dart:mirrors
are not really supported, but crashing with a segmentation fault seems a little harsher than necessary. Throwing UnuspportedError
for unrecognized types seems safer than a native assertion failure.
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-mirrorstype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug