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, |