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

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

Issue 2669703003: Refactor ConstantExpression/ConstantConstructor to use entities. (Closed)
Patch Set: Created 3 years, 11 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/constants/expressions.dart ('k') | pkg/compiler/lib/src/kernel/constant_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/type_variable_handler.dart
diff --git a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
index 898e910df67bc4e66886f926ec0dd2fb68e1a677..7d92cb406aa029882aa8273e64666f53317176d0 100644
--- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
+++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
@@ -117,7 +117,7 @@ class TypeVariableHandler {
_typeVariableConstructor.enclosingClass.thisType,
_typeVariableConstructor,
const CallStructure.unnamed(3), [
- new TypeConstantExpression(cls.rawType),
+ new TypeConstantExpression(cls.rawType, cls.name),
new StringConstantExpression(currentTypeVariable.name),
new SyntheticConstantExpression(boundValue)
]);
« no previous file with comments | « pkg/compiler/lib/src/constants/expressions.dart ('k') | pkg/compiler/lib/src/kernel/constant_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698