| Index: pkg/compiler/lib/src/constants/expressions.dart
|
| diff --git a/pkg/compiler/lib/src/constants/expressions.dart b/pkg/compiler/lib/src/constants/expressions.dart
|
| index 1387ca4e48e35aadc25b0e0fbce8387326229fbc..905ac3a0e5430863d66f1d2317055481c1e02795 100644
|
| --- a/pkg/compiler/lib/src/constants/expressions.dart
|
| +++ b/pkg/compiler/lib/src/constants/expressions.dart
|
| @@ -738,10 +738,12 @@ class TypeConstantExpression extends ConstantExpression {
|
| final String name;
|
|
|
| TypeConstantExpression(this.type, this.name) {
|
| - assert(type.isInterfaceType ||
|
| - type.isTypedef ||
|
| - type.isFunctionType ||
|
| - type.isDynamic);
|
| + assert(
|
| + type.isInterfaceType ||
|
| + type.isTypedef ||
|
| + type.isFunctionType ||
|
| + type.isDynamic,
|
| + "Unexpected type constant type: $type");
|
| }
|
|
|
| ConstantExpressionKind get kind => ConstantExpressionKind.TYPE;
|
|
|