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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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: sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart b/sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart
index e107c5cc66b23145db48d19bca3055183840fe53..0380bed7c10837bf01557d9c03d84dd8960b606a 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart
@@ -87,7 +87,7 @@ class TypeVariableHandler {
'Unexpected constructor $constructor');
}
Constant name = backend.constantSystem.createString(
- new DartString.literal(currentTypeVariable.name.slowToString()),
+ new DartString.literal(currentTypeVariable.name),
null);
Constant bound = backend.constantSystem.createInt(
emitter.reifyType(currentTypeVariable.element.bound));

Powered by Google App Engine
This is Rietveld 408576698