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

Unified Diff: test/codegen/language/export_order_test.dart

Issue 1949733002: fix #543, export of properties should now work (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
« no previous file with comments | « test/codegen/language/export_order_helper2.dart ('k') | tool/input_sdk/private/ddc_runtime/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/language/export_order_test.dart
diff --git a/test/codegen/language/static_field_override1_test.dart b/test/codegen/language/export_order_test.dart
similarity index 60%
copy from test/codegen/language/static_field_override1_test.dart
copy to test/codegen/language/export_order_test.dart
index 5aeec97b76b03a3abe3d35d36e6cc9bafe926150..35b5ac601f379a2c2f4fd38e779a97a5a177b0d0 100644
--- a/test/codegen/language/static_field_override1_test.dart
+++ b/test/codegen/language/export_order_test.dart
@@ -3,15 +3,13 @@
// BSD-style license that can be found in the LICENSE file.
import 'package:expect/expect.dart';
+import 'export_order_helper1.dart' as bar;
+import 'export_order_helper2.dart';
-class Foo {
- static int get x => 42;
-}
-
-class Bar extends Foo {
- static int x = 12;
-}
+final y = 38;
+final info = new Info();
void main() {
- Expect.equals(12, Bar.x);
-}
+ Expect.equals(38, info.x);
+ Expect.equals(38, bar.y);
+}
« no previous file with comments | « test/codegen/language/export_order_helper2.dart ('k') | tool/input_sdk/private/ddc_runtime/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698