-
Notifications
You must be signed in to change notification settings - Fork 125
dartfmt: Support generalized void #649
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
seems to be a blocker now |
I just tried this with both the version of dart_style in the Dart SDK (which means using the bleeding edge analyzer) and the external dart_style package using analyzer 0.31.1 and this was formatted fine: main() {
List<void> nothings;
} I still need to add tests but as far as I can tell, it's working. Is there something I'm missing? |
Re-opening: the following fails to parse and format: typedef G2 = void Function([void]); |
Blocked on dart-lang/sdk#30177. |
This is working on the given example and the linked SDK issue is resolved. |
This is the dartfmt specific issue for dart-lang/sdk#30176, which has the details.
The text was updated successfully, but these errors were encountered: