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

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

Issue 1121233002: Add ConstantExpression.evaluate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index cfe245c0e9a4c0396576f2acdf4d4f90a8251513..5fd2826ab680395af1319abbcf9cddd5acbc6f12 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -2426,7 +2426,10 @@ class _CompilerCoreTypes implements CoreTypes {
InterfaceType get numType => numClass.computeType(compiler);
@override
- InterfaceType get stringType => stringClass.computeType(compiler);
+ InterfaceType get stringType => stringClass.computeType(compiler);
+
+ @override
+ InterfaceType get typeType => typeClass.computeType(compiler);
karlklose 2015/05/11 12:48:08 Is 'rawType' not computed at that point? (also abo
Johnni Winther 2015/05/11 13:59:46 Not always :(
@override
InterfaceType iterableType([DartType elementType = const DynamicType()]) {

Powered by Google App Engine
This is Rietveld 408576698