Index: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
index 7a3f6271cf0a9f7d3bfbd1e6e8fe2c62c304ce4c..b1f69175da2bbb76f549f47771401af8b0ad91bd 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart |
@@ -782,7 +782,7 @@ class FragmentEmitter { |
.map((Class cls) { |
var proto = js.js.statement( |
'#.prototype = #;', [classReference(cls), emitPrototype(cls)]); |
- ClassElement element = cls.element; |
+ ClassEntity element = cls.element; |
compiler.dumpInfoTask.registerElementAst(element, proto); |
compiler.dumpInfoTask.registerElementAst(element.library, proto); |
return proto; |