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

Unified Diff: tests/compiler/dart2js/find_my_name_test.dart

Issue 2908153003: It's alive! (Closed)
Patch Set: Updated cf. comments 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
« no previous file with comments | « pkg/compiler/lib/src/universe/selector.dart ('k') | tests/compiler/dart2js/mirrors_used_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/find_my_name_test.dart
diff --git a/tests/compiler/dart2js/find_my_name_test.dart b/tests/compiler/dart2js/find_my_name_test.dart
index b2a2970e434c6eff1fe7de031447578dc0278cfe..0f8e3edd16f37a3c05c31d5a5a309a4c08680a4b 100644
--- a/tests/compiler/dart2js/find_my_name_test.dart
+++ b/tests/compiler/dart2js/find_my_name_test.dart
@@ -40,7 +40,8 @@ testClass(String code, MockCompiler compiler) {
cls.forEachLocalMember((Element e) {
String name = e.name;
if (e.isConstructor) {
- name = Elements.reconstructConstructorName(e).replaceFirst(r'$', '.');
+ ConstructorElement c = e;
+ name = Elements.reconstructConstructorName(c).replaceFirst(r'$', '.');
}
Expect.equals(code.indexOf(name, skip), e.position.charOffset);
});
« no previous file with comments | « pkg/compiler/lib/src/universe/selector.dart ('k') | tests/compiler/dart2js/mirrors_used_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698