Index: sdk/lib/_internal/compiler/implementation/enqueue.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
index acf846242ac4f9f16e459199f907fa3f0f9d001a..3d778a40d135ec18c36fef044611470d52ca736d 100644 |
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart |
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
@@ -356,6 +356,7 @@ abstract class Enqueuer { |
} |
void registerIsCheck(DartType type) { |
+ assert(!Types.isTypeVariableOfTypedef(type)); |
universe.isChecks.add(type); |
compiler.backend.registerIsCheck(type, this); |
} |