Index: pkg/compiler/lib/src/ssa/kernel_string_builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/kernel_string_builder.dart b/pkg/compiler/lib/src/ssa/kernel_string_builder.dart |
index 85c5a55f3a395644a6fd3bb8d142135eaae46a90..a5353a1bfce6d8b905ddcacf171d6cb8a45b8edf 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_string_builder.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_string_builder.dart |
@@ -19,8 +19,7 @@ class KernelStringBuilder extends ir.Visitor { |
@override |
void defaultNode(ir.Node node) { |
- throw new SpannableAssertionFailure( |
- CURRENT_ELEMENT_SPANNABLE, 'Unexpected node: $node'); |
+ failedAt(CURRENT_ELEMENT_SPANNABLE, 'Unexpected node: $node'); |
} |
@override |