Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1609)

Unified Diff: pkg/compiler/lib/src/types/type_mask.dart

Issue 1352533002: Enqueue superclasses instead of supertypes. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/types/type_mask.dart
diff --git a/pkg/compiler/lib/src/types/type_mask.dart b/pkg/compiler/lib/src/types/type_mask.dart
index 65cf5969b9de21349f44b598076923f8cd8589e4..239b902b820e53065b5d51aadeedf52cacb09947 100644
--- a/pkg/compiler/lib/src/types/type_mask.dart
+++ b/pkg/compiler/lib/src/types/type_mask.dart
@@ -88,8 +88,8 @@ abstract class TypeMask implements ReceiverMask {
factory TypeMask.exact(ClassElement base, ClassWorld classWorld) {
assert(invariant(base, classWorld.isInstantiated(base),
- message: "Cannot create exact type mask for uninstantiated class "
- "${base.name}"));
+ message: () => "Cannot create exact type mask for uninstantiated "
+ "class $base.\n${classWorld.dump()}"));
return new FlatTypeMask.exact(base);
}
@@ -121,8 +121,8 @@ abstract class TypeMask implements ReceiverMask {
factory TypeMask.nonNullExact(ClassElement base, ClassWorld classWorld) {
assert(invariant(base, classWorld.isInstantiated(base),
- message: "Cannot create exact type mask for "
- "uninstantiated class $base."));
+ message: () => "Cannot create exact type mask for "
+ "uninstantiated class $base.\n${classWorld.dump()}"));
return new FlatTypeMask.nonNullExact(base);
}

Powered by Google App Engine
This is Rietveld 408576698