Skip to content

Conversation

munificent
Copy link
Member

If you have a parameter that:

  • uses "this." or "super.",
  • and also uses the old function-typed formal parameter syntax,
  • and also is a generic function...

then the short style formatter would drop the type parameters on the floor. The tall style already does the right thing.

Fix the short style and add regression tests for both.

Fix #1321.

If you have a parameter that:

- uses "this." or "super.",
- and also uses the old function-typed formal parameter syntax,
- and also is a generic function...

then the short style formatter would drop the type parameters on the
floor. The tall style already does the right thing.

Fix the short style and add regression tests for both.

Fix #1321.
@munificent munificent merged commit 8c0e44e into main Aug 9, 2024
7 checks passed
@munificent munificent deleted the fix-1321 branch August 9, 2024 21:55
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.

Lost type arguments on super calls
2 participants