Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart |
| index 9c4077ddcd1f4eb3d0b8e06519887c0fd8350a85..9f297992e43f387b0f7d13d08f82ee0319ec3ac9 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart |
| @@ -387,8 +387,11 @@ class DartBackend extends Backend { |
| SynthesizedConstructorElementX constructor = |
| new SynthesizedConstructorElementX(classElement); |
| constructor.type = new FunctionType( |
| + constructor, |
| compiler.types.voidType, const Link<DartType>(), |
|
karlklose
2013/01/29 13:13:29
Could you either put each argument on its own line
Johnni Winther
2013/01/29 13:53:59
Done.
|
| - constructor); |
| + const Link<DartType>(), |
| + const Link<SourceString>(), const Link<DartType>() |
| + ); |
| constructor.cachedNode = new FunctionExpression( |
| new Send(classNode.name, synthesizedIdentifier), |
| new NodeList(new StringToken(OPEN_PAREN_INFO, '(', -1), |