Skip to content

Enable support for inline class syntax #1185

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

Merged
merged 4 commits into from
Mar 6, 2023

Conversation

mraleph
Copy link
Member

@mraleph mraleph commented Mar 1, 2023

Quick and dirty draft of the support. Currently we can't access inlineToken because public AST API does not expose it.

We need this CL to land first and then publish analyzer. Once that happens I will bump analyzer version in pubspec and convert this draft PR into a proper PR.

/cc @munificent

Fixes #1129

@munificent
Copy link
Member

I usually wait until there is public analyzer AST support for new syntax before I add formatting support. Is it OK if we wait until the analyzer folks have published a version before we land this?

@mraleph
Copy link
Member Author

mraleph commented Mar 1, 2023

Yep, that's why it is draft :) The CL has landed and I am going to ask analyzer to be published next.

@mraleph mraleph marked this pull request as ready for review March 1, 2023 22:02
@mraleph mraleph requested a review from munificent March 1, 2023 22:02
@mraleph
Copy link
Member Author

mraleph commented Mar 1, 2023

And we are ready to go.

@mraleph
Copy link
Member Author

mraleph commented Mar 1, 2023

Analyzer started using methods from 2.19 so we need to bump the action to use 2.19.

@mraleph
Copy link
Member Author

mraleph commented Mar 1, 2023

Now everything cycles green.

@mraleph mraleph enabled auto-merge March 1, 2023 22:30
@mraleph
Copy link
Member Author

mraleph commented Mar 2, 2023

friendly ping @munificent

@mraleph
Copy link
Member Author

mraleph commented Mar 3, 2023

Fixed conflicts in CHANGELOG.md. Still waiting for review.

auto-merge was automatically disabled March 6, 2023 20:05

Merge commits are not allowed on this repository

@mraleph mraleph merged commit a3f1b04 into dart-lang:master Mar 6, 2023
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.

[Extension type] dart_style support
2 participants