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

Unified Diff: tests/language/getter_setter_in_lib_test.dart

Issue 1090373006: Properly resolve top-level setters (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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/language/getter_setter_in_lib_test.dart
===================================================================
--- tests/language/getter_setter_in_lib_test.dart (revision 45315)
+++ tests/language/getter_setter_in_lib_test.dart (working copy)
@@ -5,9 +5,19 @@
library GetterSetterInLibTest;
import "package:expect/expect.dart";
import 'getter_setter_in_lib.dart';
+import 'getter_setter_in_lib2.dart';
+import 'getter_setter_in_lib3.dart' as L3;
main() {
Expect.equals(42, foo);
foo = 43;
Expect.equals(42, foo);
+
+ Expect.equals(77, bar);
+ bar = 43;
+ Expect.equals(77, bar);
+
+ Expect.equals(L3.bar, 33);
+ L3.bar = 44;
+ Expect.equals(L3.bar, 44);
}

Powered by Google App Engine
This is Rietveld 408576698