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
Given a type argument list in which one or more of the type projects are annotation than the same wrapping rules should be applies as with other annotations.
In case the type argument list only contains type projections without or with a single annotation without parameter than the annotation does not need to be wrapped. So code below will not be changed:
val foo1: List<@Foo String> = emptyList()
val foo2 = emptyList<@Foo String>()
val foo3: Map<@Foo String, @Foo String> = emptyMap()
val foo4 = emptyMap<@Foo String, @Foo String>()
The text was updated successfully, but these errors were encountered:
…ial`
Closes#1916
Annotations on type projections should be wrapped in same way as other annotations
Close#1917
Fix annotated expression inside function literal
Fix closing angle bracket on type argument list
Given a type argument list in which one or more of the type projects are annotation than the same wrapping rules should be applies as with other annotations.
Exampe:
should be formatted as:
In case the type argument list only contains type projections without or with a single annotation without parameter than the annotation does not need to be wrapped. So code below will not be changed:
The text was updated successfully, but these errors were encountered: