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

Unified Diff: test/codegen/lib/mirrors/private_class_field_other.dart

Issue 2265533002: Add mirrors tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
Index: test/codegen/lib/mirrors/private_class_field_other.dart
diff --git a/test/codegen/language/export_order_helper2.dart b/test/codegen/lib/mirrors/private_class_field_other.dart
similarity index 70%
copy from test/codegen/language/export_order_helper2.dart
copy to test/codegen/lib/mirrors/private_class_field_other.dart
index 2c462a4ed59e8bb3f6f74ee3b6aace81db32b274..85238b6009d14d7ee0a4b500df90e863f8896fa3 100644
--- a/test/codegen/language/export_order_helper2.dart
+++ b/test/codegen/lib/mirrors/private_class_field_other.dart
@@ -2,10 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'export_order_helper1.dart';
-
-class Info {
- int x = y;
+class C {
+ static var _privateField = 42;
}
-int get z => 38;
+get privateFieldSymbolInOther => #_privateField;
« no previous file with comments | « test/codegen/lib/mirrors/parameter_test.dart ('k') | test/codegen/lib/mirrors/private_class_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698