Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/elements/elements.dart (revision 25147) |
+++ sdk/lib/_internal/compiler/implementation/elements/elements.dart (working copy) |
@@ -845,11 +845,7 @@ |
void addMember(Element element, DiagnosticListener listener); |
void addToScope(Element element, DiagnosticListener listener); |
- /** |
- * Add a synthetic nullary constructor if there are no other |
- * constructors. |
- */ |
- void addDefaultConstructorIfNeeded(Compiler compiler); |
+ void setDefaultConstructor(FunctionElement constructor, Compiler compiler); |
void addBackendMember(Element element); |
void reverseBackendMembers(); |