Chromium Code Reviews| Index: frog/leg/compiler.dart |
| =================================================================== |
| --- frog/leg/compiler.dart (revision 2746) |
| +++ frog/leg/compiler.dart (working copy) |
| @@ -172,7 +172,7 @@ |
| } |
| void addToWorklist(Element element) { |
| - if (element.kind === ElementKind.CONSTRUCTOR) { |
| + if (element.kind === ElementKind.GENERATIVE_CONSTRUCTOR) { |
| registerInstantiatedClass(element.enclosingElement); |
| } |
| worklist.add(new WorkElement.toCompile(element)); |