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

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

Issue 2864363002: Remove DartString from constants. (Closed)
Patch Set: Remove toDartString Created 3 years, 7 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/inferrer/type_system.dart
diff --git a/pkg/compiler/lib/src/inferrer/type_system.dart b/pkg/compiler/lib/src/inferrer/type_system.dart
index 65ecb5563d2163d15e0c86abbaf1839a6fdb3bf8..49af29e6dd476831839c1c6af176023514369c8f 100644
--- a/pkg/compiler/lib/src/inferrer/type_system.dart
+++ b/pkg/compiler/lib/src/inferrer/type_system.dart
@@ -7,7 +7,6 @@ import '../elements/elements.dart';
import '../elements/entities.dart';
import '../elements/resolution_types.dart'
show ResolutionDartType, ResolutionInterfaceType;
-import '../tree/dartstring.dart';
import '../tree/nodes.dart' as ast;
import '../types/masks.dart';
import '../universe/selector.dart';
@@ -210,11 +209,11 @@ class TypeSystem {
TypeInformation nonNullEmptyType;
- TypeInformation stringLiteralType(DartString value) {
+ TypeInformation stringLiteralType(String value) {
return new StringLiteralTypeInformation(value, commonMasks.stringType);
}
- TypeInformation boolLiteralType(ast.LiteralBool value) {
+ TypeInformation boolLiteralType(bool value) {
return new BoolLiteralTypeInformation(value, commonMasks.boolType);
}
« no previous file with comments | « pkg/compiler/lib/src/inferrer/type_graph_nodes.dart ('k') | pkg/compiler/lib/src/js_backend/constant_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698