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

Unified Diff: dart_vm_standalone/rasta_errors.dart

Issue 2205263002: Implement fall-through errors. (Closed) Base URL: git@github.com:dart-lang/rasta.git@errors
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | lib/kernel.dart » ('j') | lib/kernel/fall_through_visitor.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart_vm_standalone/rasta_errors.dart
diff --git a/dart_vm_standalone/rasta_errors.dart b/dart_vm_standalone/rasta_errors.dart
index 1ec29db01edbf73f0ae7a4a487689791ed169504..7421a2dc02a31f71c7533d43ec66cb7a9d01b3bc 100644
--- a/dart_vm_standalone/rasta_errors.dart
+++ b/dart_vm_standalone/rasta_errors.dart
@@ -184,3 +184,7 @@ _genericNoSuchMethod(
_malformedTypeError(String errorMessage) {
return new _TypeError._create(null, null, null, errorMessage);
}
+
+_fallThroughError() {
+ return new FallThroughError();
+}
« no previous file with comments | « no previous file | lib/kernel.dart » ('j') | lib/kernel/fall_through_visitor.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698