Index: pkg/compiler/lib/src/tree/nodes.dart |
diff --git a/pkg/compiler/lib/src/tree/nodes.dart b/pkg/compiler/lib/src/tree/nodes.dart |
index 144762eaaef3fc964a37acafbb6663d881edd6ec..5f7feb45a20f217727f931a93606034a8e0ee7be 100644 |
--- a/pkg/compiler/lib/src/tree/nodes.dart |
+++ b/pkg/compiler/lib/src/tree/nodes.dart |
@@ -2160,8 +2160,7 @@ class StringJuxtaposition extends StringNode { |
*/ |
DartString get dartString { |
if (isInterpolation) { |
- throw new SpannableAssertionFailure( |
- this, "Getting dartString on interpolation;"); |
+ failedAt(this, "Getting dartString on interpolation;"); |
} |
if (dartStringCache == null) { |
DartString firstString = first.accept(const GetDartStringVisitor()); |