Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
index 6301e77d964edfdc6892b7164203d504f29968fb..d903f99942dbe52db2635abc188e13bfca35c335 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
@@ -2112,7 +2112,7 @@ function(originalDescriptor, name, holder, isStatic, globalFunctionsAccess) { |
jsAst.Comment buildGeneratedBy() { |
List<String> options = []; |
- if (compiler.mirrorsLibrary != null) options.add('mirrors'); |
+ if (compiler.commonElements.mirrorsLibrary != null) options.add('mirrors'); |
if (compiler.options.useContentSecurityPolicy) options.add("CSP"); |
return new jsAst.Comment(generatedBy(compiler, flavor: options.join(", "))); |
} |