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
Which isn't much better, I think. The rule should probably be that if the class type parameters split, then we force any subsequent clauses to move to their own lines too, like:
I debated whether the type parameters should be indented so that the > lines up with the other clauses, but ultimately decided not to indent. I'm still on the fence. Fortunately, it rarely comes up in practice.
Hello!
Consider the following code I dealt with earlier:
With the way
extends
and generics are mixed up, this is fairly unreadable.It's very hard with a quick glance to know what this class extends exactly.
I propose formatting such cases like the
with
:The text was updated successfully, but these errors were encountered: