Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1667)

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 19754002: Rewrite how we handle synthesized constructors in the compiler. This was motivated by issue https:/… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698