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

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

Issue 1834673003: Do not compile a class when the class mirror tries to access the metadata. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: undo-changes Created 4 years, 9 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 | « runtime/lib/mirrors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/mirror_in_static_init_test.dart
diff --git a/tests/lib/mirrors/mirror_in_static_init_test.dart b/tests/lib/mirrors/mirror_in_static_init_test.dart
index ae52922bb1e1f2d6969065e295c0c65bf0a5c0ae..471675e38ce8c543b0f7ed4ab0c093020f671171 100644
--- a/tests/lib/mirrors/mirror_in_static_init_test.dart
+++ b/tests/lib/mirrors/mirror_in_static_init_test.dart
@@ -19,7 +19,7 @@ abstract class C {
final int staticField = () {
var lib = currentMirrorSystem().findLibrary(#mirror_in_static_init_test);
- var lst = new List.from(lib.declarations.values);
+ var lst = new List.from(lib.declarations[#C].declarations.values);
return 42;
}();
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698