Skip to content
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

Samples for super-initializer and named arguments anywhere #137

Merged
merged 6 commits into from
Apr 5, 2022

Conversation

miquelbeltran
Copy link
Contributor

Continuing the work from #136

These samples demonstrate new Dart features super-initializer parameters dart-lang/sdk#48055 and named arguments anywhere dart-lang/language#1072

The example for super-initializer parameters shows different classes that make use of this feature in different shapes.

The example for named arguments anywhere uses a function with both positional and named arguments, and it is invoked in the tests following different combinations.

cc. @parlough @johnpryan @RedBrogdon

@mit-mit
Copy link
Member

mit-mit commented Apr 1, 2022

Thanks @miquelbeltran ! @leafpetersen can you check these please?

Copy link
Member

@leafpetersen leafpetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnpryan johnpryan merged commit 13c99fc into dart-lang:master Apr 5, 2022
@miquelbeltran miquelbeltran deleted the mb-parameters branch April 6, 2022 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants