You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, wow. It took me several reads to even figure out what's going on here. So it's a super parameter that is passing a generic function to the superclass and the parameter declaration in the subclass uses the old style function-typed parameter syntax. That is indeed a dark corner of the grammar.
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.
Which formatted to:
(So formatting throws away the
<T1>
and<T2>
)The text was updated successfully, but these errors were encountered: