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

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

Issue 2974223002: Support is tests (Closed)
Patch Set: Cleanup Created 3 years, 5 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_backend/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index c718f8f9d85ca787d125118586405149a9ec0e3a..0ecb90e72c657c596f63348e894a278328cdf7ee 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -21,7 +21,6 @@ import '../elements/elements.dart'
Elements,
FieldElement,
MemberElement,
- TypeDeclarationElement,
MixinApplicationElement,
TypedefElement;
import '../elements/entities.dart';
@@ -907,7 +906,7 @@ class Namer {
///
/// Should be used together with [globalObjectForType], which denotes the
/// object on which the returned property name should be used.
- jsAst.Name globalPropertyNameForType(TypeDeclarationElement element) =>
+ jsAst.Name globalPropertyNameForType(Entity element) =>
_disambiguateGlobalType(element);
/**

Powered by Google App Engine
This is Rietveld 408576698