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

Unified Diff: tests/compiler/dart2js/equivalence/id_equivalence_test.dart

Issue 3009903002: Pass in `this` as a free variable to the closure class (Closed)
Patch Set: merge with master Created 3 years, 4 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: tests/compiler/dart2js/equivalence/id_equivalence_test.dart
diff --git a/tests/compiler/dart2js/equivalence/id_equivalence_test.dart b/tests/compiler/dart2js/equivalence/id_equivalence_test.dart
index 8512dca5ed691a778e573f289af9e0cfdd478773..b0d4ae6d53fcd815846e085303906a445cb7051d 100644
--- a/tests/compiler/dart2js/equivalence/id_equivalence_test.dart
+++ b/tests/compiler/dart2js/equivalence/id_equivalence_test.dart
@@ -83,7 +83,7 @@ void computeAstMemberData(
new ResolvedAstComputer(compiler.reporter, actualMap, resolvedAst).run();
}
-/// Mixin used for0computing a descriptive mapping of the [Id]s in a member.
+/// Mixin used for computing a descriptive mapping of the [Id]s in a member.
class ComputerMixin {
String computeMemberName(String className, String memberName) {
if (className != null) {
@@ -147,6 +147,7 @@ class ResolvedAstComputer extends AstDataExtractor with ComputerMixin {
case AccessKind.FINAL_LOCAL_VARIABLE:
case AccessKind.LOCAL_FUNCTION:
return sendStructure.semantics.element.name;
+ case AccessKind.THIS_PROPERTY:
case AccessKind.DYNAMIC_PROPERTY:
DynamicAccess access = sendStructure.semantics;
return access.name.text;

Powered by Google App Engine
This is Rietveld 408576698