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

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

Issue 2846903002: Change toString on ResolutionTypeVariableType to include class/method name (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/elements/resolution_types.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index f6a5ffe625523dd6f134391efe0503d60ab23d56..4c1eed13f228b8588488b11961ed28045a76d7e3 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -759,7 +759,7 @@ class _RuntimeTypesEncoder implements RuntimeTypesEncoder {
List<String> parameters = const <String>[];
if (contextClass != null) {
parameters = contextClass.typeVariables.map((type) {
- return type.toString();
+ return type.name;
}).toList();
}
return js('function(#) { return # }', [parameters, encoding]);
« no previous file with comments | « pkg/compiler/lib/src/elements/resolution_types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698