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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.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/dart_backend/backend.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart (revision 25147)
+++ sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart (working copy)
@@ -356,7 +356,8 @@
// and then overwrite necessary parts.
var classNode = classElement.parseNode(compiler);
SynthesizedConstructorElementX constructor =
- new SynthesizedConstructorElementX(classElement);
+ new SynthesizedConstructorElementX(
+ classElement.name, null, classElement);
constructor.type = new FunctionType(
constructor,
compiler.types.voidType,
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/compiler.dart ('k') | sdk/lib/_internal/compiler/implementation/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698