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

Generate type aliases in Dart #1163

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Generate type aliases in Dart #1163

wants to merge 2 commits into from

Conversation

DanielKamkha
Copy link
Contributor

@DanielKamkha DanielKamkha commented Nov 9, 2021

Added dedicated DartTypeAlias template, as type aliases (typedefs) are now
supported in Dart language (since Dart version 2.13). Updated other Dart
tempates and resolvers to treat type aliases as a normal type, instead of
skipping it through to the target type.

Added/updated related smoke and functional tests.

Unrelated smoke tests are updated in a separate commit.

Resolves: #907
Signed-off-by: Daniel Kamkha [email protected]

@DanielKamkha DanielKamkha marked this pull request as draft November 9, 2021 06:31
@DanielKamkha DanielKamkha self-assigned this Nov 9, 2021
@DanielKamkha DanielKamkha added dart enhancement New feature or request labels Nov 9, 2021
@DanielKamkha DanielKamkha changed the title Dart type aliases Generate type aliases in Dart Nov 9, 2021
@DanielKamkha DanielKamkha marked this pull request as ready for review November 10, 2021 09:52
@DanielKamkha DanielKamkha marked this pull request as draft June 27, 2022 13:27
@DanielKamkha DanielKamkha force-pushed the dart-type-aliases branch 3 times, most recently from e4c39a1 to f2ebde1 Compare July 5, 2022 11:06
Added dedicated DartTypeAlias template, as type aliases (typedefs) are now
supported in Dart language (since Dart version 2.13). Updated other Dart
tempates and resolvers to treat type aliases as a normal type, instead of
skipping it through to the target type.

Added/updated related smoke and functional tests.

Unrelated smoke tests are updated in a separate commit.

Resolves: #907
Signed-off-by: Daniel Kamkha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add full support for type aliases in Dart
1 participant