| Index: pkg/compiler/lib/src/types/constants.dart
|
| diff --git a/pkg/compiler/lib/src/types/constants.dart b/pkg/compiler/lib/src/types/constants.dart
|
| index 1e310741721130a6a5ba4c57b9640fe2ea06a394..382a3e6317318982f158d70bd4882a10e3107f27 100644
|
| --- a/pkg/compiler/lib/src/types/constants.dart
|
| +++ b/pkg/compiler/lib/src/types/constants.dart
|
| @@ -61,7 +61,7 @@ class ConstantValueTypeMasks
|
| case SyntheticConstantKind.NAME:
|
| return closedWorld.commonMasks.stringType;
|
| default:
|
| - throw new SpannableAssertionFailure(CURRENT_ELEMENT_SPANNABLE,
|
| + throw failedAt(CURRENT_ELEMENT_SPANNABLE,
|
| "Unexpected DummyConstantKind: ${constant.toStructuredText()}.");
|
| }
|
| }
|
|
|