Index: pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart |
index a4417c15bf4b9560dde3322ced292561dc799c02..47bd9ff225923a23943e8f905b951421c796c26e 100644 |
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart |
@@ -60,7 +60,7 @@ class ClassEmitter extends CodeEmitterHelper { |
* Emits the precompiled constructor when in CSP mode. |
*/ |
void emitConstructorsForCSP(Class cls) { |
- List<String> fieldNames = <String>[]; |
+ List<jsAst.Name> fieldNames = <jsAst.Name>[]; |
if (!compiler.useContentSecurityPolicy) return; |