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

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

Issue 10824275: Revert "Refactor Library/CompilationUnit and how we define local Scope." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « tests/co19/co19-leg.status ('k') | tests/compiler/dart2js/mock_compiler.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 008575d70089df52f139ddf3107334c9302a6e6c..8f9322343c1dd9b1b63cf0f87b6985fd826f34b3 100644
--- a/tests/compiler/dart2js/find_my_name_test.dart
+++ b/tests/compiler/dart2js/find_my_name_test.dart
@@ -17,7 +17,7 @@ class Foo {
ClassElement foo = parseUnit(code, compiler, compiler.mainApp).head;
foo.parseNode(compiler);
- for (Element e in foo.localMembers) {
+ for (Element e in foo.localMembers.getValues()) {
// TODO(ahe): Should test for e.name.slowToString() instead.
Expect.equals(code.indexOf('operator+'), e.position().charOffset);
}
« no previous file with comments | « tests/co19/co19-leg.status ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698