| Index: dart/lib/compiler/implementation/typechecker.dart
|
| diff --git a/dart/lib/compiler/implementation/typechecker.dart b/dart/lib/compiler/implementation/typechecker.dart
|
| index ac2025621e8cc9f5f7772f2a091021907f2c24be..e56166d7f23334d12ecfbff06b0f37592ab5c8c7 100644
|
| --- a/dart/lib/compiler/implementation/typechecker.dart
|
| +++ b/dart/lib/compiler/implementation/typechecker.dart
|
| @@ -794,7 +794,7 @@ class TypeCheckerVisitor implements Visitor<DartType> {
|
| if (node.isRedirectingFactoryBody) {
|
| // TODO(lrn): Typecheck the body. It must refer to the constructor
|
| // of a subtype.
|
| - return elements.getType(node);
|
| + return StatementType.RETURNING;
|
| }
|
|
|
| final expression = node.expression;
|
|
|