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

Unified Diff: test/codegen/lib/mirrors/private_symbol_mangling_lib.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_symbol_mangling_lib.dart
diff --git a/test/codegen/language/cha_deopt1_lib.dart b/test/codegen/lib/mirrors/private_symbol_mangling_lib.dart
similarity index 62%
copy from test/codegen/language/cha_deopt1_lib.dart
copy to test/codegen/lib/mirrors/private_symbol_mangling_lib.dart
index f49562de496f7f432b7fb2d41dfd5fb60df9091b..8d9c93bb0bd252a8ae0fb1f11282fa0c0763e7ae 100644
--- a/test/codegen/language/cha_deopt1_lib.dart
+++ b/test/codegen/lib/mirrors/private_symbol_mangling_lib.dart
@@ -2,11 +2,13 @@
// 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.
-library mylib;
+library other;
-class T {
+var _privateGlobalField = 3;
- m() => 42;
+_privateGlobalMethod() => 11;
+class C2 {
+ var _privateField = 1;
+ _privateMethod() => 3;
}
-
« no previous file with comments | « test/codegen/lib/mirrors/private_class_field_test.dart ('k') | test/codegen/lib/mirrors/private_symbol_mangling_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698