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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart

Issue 2768533002: Fasta type inference prototype #2
Patch Set: Merge origin/master Created 3 years, 9 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/front_end/lib/src/fasta/kernel/frontend_accessors.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart
index 71f99b8e7045b57c2e0d201938c2f135fab32831..728d8e910c324828ab7b4c220ec7fe9e4a6c1519 100644
--- a/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart
@@ -9,6 +9,7 @@
library kernel.frontend.accessors;
import 'package:kernel/ast.dart';
+import 'shadow_ast.dart' as shadow;
/// An [Accessor] represents a subexpression for which we can't yet build a
/// kernel [Expression] because we don't yet know the context in which it is
@@ -128,7 +129,7 @@ class VariableAccessor extends Accessor {
VariableAccessor.internal(this.variable, this.charOffset, this.promotedType);
_makeRead() =>
- new VariableGet(variable, promotedType)..fileOffset = charOffset;
+ new shadow.VariableGet(variable, promotedType)..fileOffset = charOffset;
_makeWrite(Expression value, bool voidContext) {
return variable.isFinal || variable.isConst

Powered by Google App Engine
This is Rietveld 408576698