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

Unified Diff: tests/language/private1.dart

Issue 10827359: Fix field-accesses for private fields that were "shadowed" by other private fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comments. 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 | « lib/compiler/implementation/world.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/private1.dart
diff --git a/tests/language/private1.dart b/tests/language/private1.dart
index 519658ce22159518c02c8c502041b8cffc7f412b..3117b26e574f9b3190300601717c02873fd546ce 100644
--- a/tests/language/private1.dart
+++ b/tests/language/private1.dart
@@ -80,8 +80,10 @@ void testPrivateClasses() {
expectCatch(() => LibOther3.accessFieldB3(b));
C4 c = new C4();
+ Expect.equals(499, c._field1);
Expect.equals(499, c_field1a(c));
Expect.equals(499, c.field1a());
+ Expect.equals(42, c._field2);
Expect.equals(42, c_field2a(c));
Expect.equals(42, c.field2a());
Expect.equals(99, LibOther3.c_field1b(c));
« no previous file with comments | « lib/compiler/implementation/world.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698