|
Handle redirects to unresolved redirects
The solves the handling of redirecting factories that redirects to other
redirecting factories whos immediate redirection target is unresolved.
For instance
class C {
factory C.a() = C.b;
factory C.b() = Unresolved;
}
The implementation normalizes the properties 'immediateRedirectionTarget',
'redirectionDeferredPrefix', 'effectiveTarget', 'effectiveTargetType', and
'isEffectiveTargetMalformed' by always storing the information on the
implementation element.
R=het@google.com
Committed: https://github.com/dart-lang/sdk/commit/1f1e00f0126c2d62a893b87c1b649115c4e45974
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+182 lines, -63 lines) |
Patch |
|
M |
pkg/compiler/lib/src/elements/modelx.dart
|
View
|
|
4 chunks |
+87 lines, -22 lines |
4 comments
|
Download
|
|
M |
pkg/compiler/lib/src/resolution/members.dart
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
pkg/compiler/lib/src/resolution/resolution.dart
|
View
|
|
3 chunks |
+12 lines, -19 lines |
1 comment
|
Download
|
|
M |
pkg/compiler/lib/src/serialization/element_serialization.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/compiler/lib/src/serialization/equivalence.dart
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/compiler/lib/src/serialization/keys.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/compiler/lib/src/serialization/modelz.dart
|
View
|
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/compiler/dart2js/patch_test.dart
|
View
|
|
3 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/compiler/dart2js/serialization/equivalence_test.dart
|
View
|
|
4 chunks |
+24 lines, -2 lines |
2 comments
|
Download
|
|
M |
tests/compiler/dart2js/serialization/test_data.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/language/factory5_test.dart
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
A + |
tests/language/factory6_test.dart
|
View
|
|
1 chunk |
+6 lines, -8 lines |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|