Index: lib/src/codegen/js_codegen.dart |
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart |
index aeec324d59d20405ff936b7272c586e26187449f..554b4bbea171189c09aafbb4f6d3c4e3c3c1048c 100644 |
--- a/lib/src/codegen/js_codegen.dart |
+++ b/lib/src/codegen/js_codegen.dart |
@@ -315,7 +315,7 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor { |
// If we don't have a method body, skip this. |
if (fields.isEmpty) return null; |
- var body = _initializeFields(fields); |
+ dynamic body = _initializeFields(fields); |
var superCall = _superConstructorCall(node); |
if (superCall != null) body = [[body, superCall]]; |
return new JS.Method( |