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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/typechecker.dart

Issue 11230007: Resolve redirecting factories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test status Created 8 years, 1 month 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: dart/sdk/lib/_internal/compiler/implementation/typechecker.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/typechecker.dart b/dart/sdk/lib/_internal/compiler/implementation/typechecker.dart
index f6cd424e2af928727cd9d8ba96553e0319167cfe..d4889b665be47ea93784441fcdebf05d88d6cb66 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/typechecker.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/typechecker.dart
@@ -796,7 +796,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;
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | dart/tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698