Chromium Code Reviews| Index: lib/compiler/implementation/resolver.dart |
| diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart |
| index ef8c2274e9123266caef50952b78fc5b8ae411e7..1fb66b181eed1c664fda558d3189d2446f0305ec 100644 |
| --- a/lib/compiler/implementation/resolver.dart |
| +++ b/lib/compiler/implementation/resolver.dart |
| @@ -1627,6 +1627,11 @@ class ResolverVisitor extends CommonResolverVisitor<Element> { |
| } |
| visitReturn(Return node) { |
| + if (node.beginToken.stringValue === '=') { |
|
ahe
2012/09/26 14:51:09
I think we should have a method/getter for this.
Lasse Reichstein Nielsen
2012/09/27 11:50:59
Done.
|
| + NewExpression newExpression = node.expression; |
|
ahe
2012/09/26 14:51:09
I think we should just say that this is an error,
Lasse Reichstein Nielsen
2012/09/27 11:50:59
Done. No just calls unimplemented immediately.
|
| + visit(newExpression); |
| + unimplemented(node, 'redirecting constructors'); |
| + } |
| visit(node.expression); |
| } |