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

Unified Diff: tests/lib/mirrors/function_apply_mirrors_lib.dart

Issue 1274633002: Add test that uses function.apply and mirrors in the same file. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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: tests/lib/mirrors/function_apply_mirrors_lib.dart
diff --git a/tests/compiler/dart2js_extra/deferred_split_lib2.dart b/tests/lib/mirrors/function_apply_mirrors_lib.dart
similarity index 60%
copy from tests/compiler/dart2js_extra/deferred_split_lib2.dart
copy to tests/lib/mirrors/function_apply_mirrors_lib.dart
index d690e311ecee452f767aa8ea630e510b8c780bbc..e94a55a1df329627010a6a01d147c2a8f7a69467 100644
--- a/tests/compiler/dart2js_extra/deferred_split_lib2.dart
+++ b/tests/lib/mirrors/function_apply_mirrors_lib.dart
@@ -2,8 +2,9 @@
// 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.
-// Deferred library loaded by deferred_split_test.dart
+library function_apply_mirrors_lib;
-import 'deferred_split_lib1.dart';
+@MirrorsUsed(targets: "function_apply_mirrors_lib")
+import "dart:mirrors";
-createA() => new A();
+bar() => reflect(499).reflectee;
« no previous file with comments | « no previous file | tests/lib/mirrors/function_apply_mirrors_test.dart » ('j') | tests/lib/mirrors/function_apply_mirrors_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698