Index: lib/src/codegen/js_codegen.dart |
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart |
index 0ff3baadbffb8904081d3144b30bb3d788b64e54..1ca3993e1a8c9303368e813f868f5389a17da4ea 100644 |
--- a/lib/src/codegen/js_codegen.dart |
+++ b/lib/src/codegen/js_codegen.dart |
@@ -1089,6 +1089,9 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ClosureAnnotator { |
} |
} |
+ if (superCtor == null) { |
+ print('Error generating: ${element.displayName}'); |
+ } |
if (superCtor.name == '' && !_shouldCallUnnamedSuperCtor(element)) { |
return null; |
} |