Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: pkg/compiler/lib/src/constants/expressions.dart

Issue 2938193003: Revert "Towards compiling Hello World!" and "Compile and run Hello World!" (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/entities.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/entities.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698