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