Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
index e388d9df09037665cca1c7b23915c5a5208358de..7296a9afe4d849b17663cb274e5cc8e3e794a79b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
@@ -2269,7 +2269,10 @@ abstract class BaseClassElementX extends ElementX |
} |
bool get isNative => nativeTagInfo != null; |
+ |
void setNative(String name) { |
+ assert(invariant(this, nativeTagInfo == null, |
+ message: "Native tag info set twice on $this.")); |
nativeTagInfo = name; |
} |