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

Unified Diff: pkg/kernel/lib/target/flutter.dart

Issue 2897683002: Move code for instantiating Invocation to Target. (Closed)
Patch Set: 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/kernel/lib/target/flutter.dart
diff --git a/pkg/kernel/lib/target/flutter.dart b/pkg/kernel/lib/target/flutter.dart
index 911abed1be95536449537f0a2b28ca765ffe1d6b..0c311e3b73594ebd71ea0edb166af0443fefc4a8 100644
--- a/pkg/kernel/lib/target/flutter.dart
+++ b/pkg/kernel/lib/target/flutter.dart
@@ -50,7 +50,7 @@ class FlutterTarget extends Target {
];
void performModularTransformations(Program program) {
- new mix.MixinFullResolution().transform(program);
+ new mix.MixinFullResolution(this).transform(program);
}
void performGlobalTransformations(Program program) {
@@ -66,4 +66,11 @@ class FlutterTarget extends Target {
new SanitizeForVM().transform(program);
}
+
+ @override
+ Expression instantiateInvocation(Member target, Expression receiver,
+ String name, Arguments arguments, int offset, bool isSuper) {
+ // TODO(ahe): This should probably return the same as VmTarget does.
+ return new InvalidExpression();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698