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

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

Issue 1344733003: dart2js: Register helpers for updating send to type variable. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index 7ef8980aadcd38e177af7ee8f8c841d68f959f11..3d0e27cb53f7b0825bc3f5efc5f2d960a1303566 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -8,9 +8,7 @@ import '../compiler.dart' show
Compiler;
import '../dart_types.dart' show
DartType;
-import '../elements/elements.dart' show
- AstElement,
- ErroneousElement;
+import '../elements/elements.dart' show AstElement, ErroneousElement, TypeVariableElement;
Johnni Winther 2015/09/15 13:23:39 Long line.
import '../enqueue.dart' show
ResolutionEnqueuer,
WorldImpact;
@@ -66,7 +64,8 @@ class ResolutionCallbacks {
/// Called during resolution to notify to the backend that the
/// program uses a type variable as an expression.
- void onTypeVariableExpression(Registry registry) {}
+ void onTypeVariableExpression(Registry registry,
+ TypeVariableElement variable) {}
/// Called during resolution to notify to the backend that the
/// program uses a type literal.

Powered by Google App Engine
This is Rietveld 408576698