Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
index 09be16f7d4da7af8e05b409af1d499998dd2f93a..d0e370e0d931ee91b9de4b4e6b343ca30b2b3ab6 100644 |
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart |
@@ -349,6 +349,7 @@ class Elements { |
static bool isNativeOrExtendsNative(ClassElement element) { |
if (element == null) return false; |
if (element.isNative()) return true; |
+ assert(element.resolutionState == STATE_DONE); |
return isNativeOrExtendsNative(element.superclass); |
} |