-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Implement the Q1 2021 small features release in DDC #44915
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
See also. |
Like with dart2js, I expect that metadata support is CFE only and >>> will likely be CFE + runtime libraries only, so we may have no work on the DDC side. I expect we may need to do some backend work to adapt our type representation to accept generic types in new places as proposed by the feature. @nshahan - do you know if that's supported by our current representation or if more work will be required to support this? |
AFAIK we don't have the explicit support yet in the web runtime libraries but talking with @rakudrama today made it sound like it would be a minor change to the patch files based on the existing implementations of the existing shift operators. Not expecting a large amount of work to reach a version that performs well but we need to be aware of performance. |
@nshahan any updates? |
Now that an implementation that throws an unimplemented message has landed and we have working tests @lrhn said that he was going to add a real implementation next week. I will followup and make sure we add an implementation soon. |
BUG= #44915 Change-Id: Ia63d1653729ff458f9ebb2a2e33883a00a66378f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191220 Reviewed-by: Nicholas Shahan <[email protected]> Commit-Queue: Lasse R.H. Nielsen <[email protected]>
Thanks for the update @nshahan. Do you know if there is anything left to do for "Generic function types as type arguments"? |
I'm not sure about that. My feeling is the systems might just work but there could be unexpected incompatibilities with the function type argument. I just found a set of test suites for the features mentioned in this comment #44926 (comment). I'll use those to validate. |
@leafpetersen Do you have an overview of all the tests for the various features? It would be nice to have a query for each of the features we could use to see the status. I noticed some of the triple shift tests were being skipped because they have been around for so long https://dart-review.googlesource.com/c/sdk/+/191482. Do we have to watch out for this on the other features? @athomas It looks like we need to roll the co19 tests again as they have been landing some updates (sorry for the noise if you are already aware). Current DDC test status (that I'm aware of): Triple shift operator
The co19 suite has failures but it looks like there was an update that needs to be rolled into the SDK Generic Function Types in type arguments and bounds Some tests have landed in co19 but have not been rolled into the SDK yet. Non-function type alias support in DDC I'm not aware of any failures from the co19 test suite that are on the DDC side, there are a lot of tests scattered in different directories. Some front end only tests are failing. |
@nshahan I have internal docs and spreadsheets tracking all known tests and failures, I will send you links. |
Any update? |
I believe this is done. |
Implementation issue for this set of features.
cc @sigmundch @franklinyow
The text was updated successfully, but these errors were encountered: