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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 2653203002: Use entities in CommonElements interface. (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
Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
index f30f3c2fb8df76ff633d01df3fd89fb8dd443584..3e5b669f717fa1c18014f8daa6890a39bae73cbc 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
@@ -22,6 +22,7 @@ import '../../elements/elements.dart'
ClassElement,
Element,
Elements,
+ Entity,
FieldElement,
FunctionElement,
FunctionSignature,
@@ -358,7 +359,7 @@ class Emitter implements js_emitter.Emitter {
}
@override
- jsAst.PropertyAccess typeAccess(Element element) {
+ jsAst.PropertyAccess typeAccess(Entity element) {
return globalPropertyAccess(element);
}

Powered by Google App Engine
This is Rietveld 408576698