|
Deal with deferred loading in the VM mirrors.
- Invalidate MirrorSystem.libraries when a load completes.
- Recheck if a deferred import's target has been loaded before failing.
- Allow loading libraries from a LibraryDepedencyMirror.
- Propogate compile-time error when attempting to reflect a deferred type.
BUG=http://dartbug.com/22592
R=asiva@google.com, gbracha@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45444
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+244 lines, -89 lines) |
Patch |
|
M |
pkg/compiler/lib/src/mirrors/dart2js_library_mirror.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/compiler/lib/src/mirrors/source_mirrors.dart
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/lib/mirrors.cc
|
View
|
1
2
3
4
|
19 chunks |
+62 lines, -53 lines |
0 comments
|
Download
|
|
M |
runtime/lib/mirrors_impl.dart
|
View
|
1
2
3
4
|
7 chunks |
+43 lines, -31 lines |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap_natives.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/mirrors/mirrors.dart
|
View
|
1
2
3
|
4 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/lib/lib.status
|
View
|
1
2
3
4
|
5 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A + |
tests/lib/mirrors/deferred_type_other.dart
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
tests/lib/mirrors/deferred_type_test.dart
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/lib/mirrors/library_enumeration_deferred_loading_test.dart
|
View
|
1
2
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/lib/mirrors/library_import_deferred_loading_test.dart
|
View
|
1
2
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/lib/mirrors/load_library_test.dart
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (1 generated)
|