Add options for wrapping local variable and property annotations
#KT-14950 Fixed
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ annotation class X(val s: String)
|
||||
|
||||
class A(val n: Int) {
|
||||
val t = 1
|
||||
internal @X("1") val <T : Number> T.foo: Boolean
|
||||
internal @X("1")
|
||||
val <T : Number> T.foo: Boolean
|
||||
get() = toInt() - n > 1
|
||||
val u = 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user