-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Implement Enhanced Enums feature in the CFE #47453
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
Comments
Part of #47453. Change-Id: I6d1fdc4bc170354985a9d216b13ad8f153717adf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216662 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453. Change-Id: I3a722cbcca6323b751eb3b2429bb9ffb642972b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/217011 Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
@chloestefantsova - did you mean this to be a general 'implement enhanced enums' issue, or just specific to the CFE? I started #47849 but then saw this issue. |
I meant this as the CFE specific one, so the two issues are in agreement with each other 🙂 |
Part of #47453 Change-Id: I785c0c26dea8ad9443a531cf372db4e7f3b999bb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224954 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of: #47453 Change-Id: I1922460a8045db9ffd8bae7bff7ddb4e8c2c0ec9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/225721 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I39c3d29ef31aa51db4f266c7330ac8e47260d749 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/225727 Reviewed-by: Johnni Winther <[email protected]>
Part of #47453 Change-Id: I46a96c8c6ab4d54186ad612e3c7586cc92781d87 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/225729 Reviewed-by: Johnni Winther <[email protected]>
Part of #47453 Closes #48084 Change-Id: If96b17220df63b5f0089e302322fad2735354d5f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/226687 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I04d0a7690b6619ca61f364da756917319e6081b8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/227541 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48140 Change-Id: I6f45fa869a0cf64ae041e0768a0129a989e6d903 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228161 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48141 Change-Id: Ibfda7546ba0da91dbd0430f55b878af58a1bb99c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228202 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I68e9d822527bce84828924f849468d23794a4feb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228501 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I6782b4a9f13f95f626f41c311c05ce949649c828 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228562 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
This CL also moves the resolution of the _Enum type before it's checked for being a correct supertype. Part of #47453 Change-Id: I80d4197a430b90e4aea785961bfbcbbee588255a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228644 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I00fc3ca00713b1181eb0179312d3eb68cfeae334 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228648 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: Icf8b5a58d991c4fb693fd41e9b49dc326269c9fc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229153 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Closes #48181 Part of #47453 Change-Id: Idac70540cf2d4b566fa88bad1e7feef1aec9e3a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229540 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I046fc14b76513b6b1b3f3606b4c1bd299abca50a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229963 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
This CL also adds support for redirecting enum factories. Part of #47453 Change-Id: Idd16598316a52ac6122a47f4c12f82ab5750d8f3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/230661 Auto-Submit: Chloe Stefantsova <[email protected]> Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
Part of #47453 Closes #48233 Change-Id: Iaa75ccac6622e874da5f6e5feb053fc19a220936 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232382 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48342 Change-Id: Iea4b147eaed19681e227d84a9afc6a1069b1e3fc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232380 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48303 Change-Id: Ib2934779fc7295c066c1c1580609c933be76b618 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232381 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48389 Closes #48387 Change-Id: I8313e3f63122c85c91a9647ddaa53346591d7238 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232841 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Closes #48388 Change-Id: I87d57407e16916a78864b9ce74b9250afc39958f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233304 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: Ic79a7667e5eb1b4cf27c1d1628312e4d8c052304 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233382 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
The type inference on enum elements was performed at the outline expression building phase, which is later than the inference on the rest of the members. It prevents some type checks from being performed correctly, for example, a check for the type of the getter induced by the element and a declared static setter. This CL moves the inference on enum elements to the same phase as for the rest of the class and enum members. Part of #47453 Change-Id: Iefc5606e6db07df8cd2de101c47d115c2ff8454a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236000 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I2fddd2ad5da82807fef7e9ed1d7a6781fde38600 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237365 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Closes #48577 Part of #47453 Change-Id: I949052f153c2e7b1c818069149c75b977ca8ac95 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237580 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I5f80c3507a0264c4516d42967b148f4dc3fd08ad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237684 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I51277f2c548b4632b9b9870b522f19a9e8c77498 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239680 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
Part of #47453 Change-Id: I376b309e019a1e18444613f14c9e8870c0f10eb6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239681 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Chloe Stefantsova <[email protected]>
This is considered implemented. |
This issue is for implementing dart-lang/language#158 in the CFE and referencing it in the related CLs.
See #47849 for the main tracking issue.
The text was updated successfully, but these errors were encountered: