-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
co19/LanguageFeatures/Extension-types/promotion_A01_t01 #2271
Comments
(This test will be updated one more time, because promotion of a representation variable isn't sound in the first place.) Edit: That wasn't true, cf. dart-lang/sdk#53446, promotion of a representation variable is sound. However, it's still not determined exactly when the promotion is allowed to take place. If |
I can see that the test has now been updated to promote Awaiting the discussion in dart-lang/sdk#53446 for that. |
Resolved by #2279 |
2023-09-15 [email protected] dart-lang/co19#1400. Update error expectations for CFE (dart-lang/co19#2282) 2023-09-15 [email protected] Fixes dart-lang/co19#2147. Add access to this tests (dart-lang/co19#2280) 2023-09-15 [email protected] dart-lang/co19#2258. Add missing experimental flag (dart-lang/co19#2281) 2023-09-14 [email protected] dart-lang/co19#2258. Only private field of an extension type is promotable (dart-lang/co19#2279) 2023-09-14 [email protected] Fixes dart-lang/co19#2261. Remove obsolete inference-update-2 experimental flag (dart-lang/co19#2278) 2023-09-14 [email protected] dart-lang/co19#2258. No error ib case of the `noSuchMethod` forwarder of a method (dart-lang/co19#2277) 2023-09-13 [email protected] dart-lang/co19#2258. Add more private fields promotion tests (dart-lang/co19#2276) 2023-09-13 [email protected] Fixes dart-lang/co19#2265. Extension types. Add more member conflict tests (dart-lang/co19#2270) 2023-09-12 [email protected] dart-lang/co19#1400. Add type aliases test (dart-lang/co19#2274) 2023-09-12 [email protected] Fixes dart-lang/co19#2271. Fix typo in promotion_A01_t01.dart (dart-lang/co19#2272) Change-Id: Icc18b7b8e8c7aea103fc255e0da01a5f15601dac Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326303 Reviewed-by: Alexander Thomas <[email protected]> Reviewed-by: Erik Ernst <[email protected]> Commit-Queue: Alexander Thomas <[email protected]>
Do we expect promotion of
et2
toET2<int>
in the declaration?I think this does not happen, by two reasons:
ET2(2)
is inferred asET2<num?>
, notET2<int>
.et2
does not promote it toET2<int>
anyway, because it is not a type of interest.The text was updated successfully, but these errors were encountered: