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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 2982783003: Use failedAt in more places (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index a75c0d2861d492c992d5a22e376ff48ed4e2e47d..7939217b27e0c03920e2bfba3c8b9bf5e72d9eed 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -5331,8 +5331,7 @@ class SsaAstGraphBuilder extends ast.Visitor
}
visitModifiers(ast.Modifiers node) {
- throw new SpannableAssertionFailure(
- node, 'SsaFromAstMixin.visitModifiers not implemented.');
+ failedAt(node, 'SsaFromAstMixin.visitModifiers not implemented.');
}
visitBreakStatement(ast.BreakStatement node) {
@@ -6456,13 +6455,11 @@ class SsaAstGraphBuilder extends ast.Visitor
}
visitTypedef(ast.Typedef node) {
- throw new SpannableAssertionFailure(
- node, 'SsaFromAstMixin.visitTypedef not implemented.');
+ failedAt(node, 'SsaFromAstMixin.visitTypedef not implemented.');
}
visitTypeVariable(ast.TypeVariable node) {
- throw new SpannableAssertionFailure(
- node, 'SsaFromAstMixin.visitTypeVariable not implemented.');
+ failedAt(node, 'SsaFromAstMixin.visitTypeVariable not implemented.');
}
/**
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | pkg/compiler/lib/src/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698