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

Unified Diff: lib/kernel.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
Index: lib/kernel.dart
diff --git a/lib/kernel.dart b/lib/kernel.dart
index cb12e3a8ede091a80eb90ee1c85f978bb08d845d..c3d4c3bdd2f334d78d5063a4dcda04714bbbedcc 100644
--- a/lib/kernel.dart
+++ b/lib/kernel.dart
@@ -682,6 +682,10 @@ class Kernel {
ir.Procedure getGenericNoSuchMethodBuilder() {
return getDartCoreMethod('_genericNoSuchMethod');
}
+
+ ir.Procedure getFallThroughErrorBuilder() {
+ return getDartCoreMethod('_fallThroughError');
+ }
}
class ConstructorTarget {

Powered by Google App Engine
This is Rietveld 408576698