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

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

Issue 10387080: Accept more labels per switch case. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove debug-print. Created 8 years, 7 months 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: lib/compiler/implementation/typechecker.dart
diff --git a/lib/compiler/implementation/typechecker.dart b/lib/compiler/implementation/typechecker.dart
index a5cdb5fa2a98be5d40d941e48e52bad90d9a5ec3..c23455d90d31078adeac1e504cd46e3b0cb6791e 100644
--- a/lib/compiler/implementation/typechecker.dart
+++ b/lib/compiler/implementation/typechecker.dart
@@ -729,6 +729,10 @@ class TypeCheckerVisitor implements Visitor<Type> {
fail(node);
}
+ visitCaseMatch(CaseMatch node) {
+ fail(node);
+ }
+
visitTryStatement(TryStatement node) {
fail(node, 'unimplemented');
}

Powered by Google App Engine
This is Rietveld 408576698