Fix more broken QF tests
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
// ERROR: This annotation is not applicable to target 'declaration' and use site target '@receiver'
|
// ERROR: This annotation is not applicable to target 'declaration' and use site target '@receiver'
|
||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make private
|
// ACTION: Make private
|
||||||
|
// ACTION: Add annotation target
|
||||||
|
|
||||||
annotation class Ann
|
annotation class Ann
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make private
|
// ACTION: Make private
|
||||||
// ACTION: Specify type explicitly
|
// ACTION: Specify type explicitly
|
||||||
|
// ACTION: Add annotation target
|
||||||
|
|
||||||
annotation class Ann
|
annotation class Ann
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
// ACTION: Make public
|
// ACTION: Make public
|
||||||
// ACTION: Move to constructor
|
// ACTION: Move to constructor
|
||||||
// ACTION: Specify type explicitly
|
// ACTION: Specify type explicitly
|
||||||
|
// ACTION: Add use-site target 'field'
|
||||||
class Foo {
|
class Foo {
|
||||||
<caret>@JvmField private val a = "Lorem ipsum"
|
<caret>@JvmField private val a = "Lorem ipsum"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make private
|
// ACTION: Make private
|
||||||
// ACTION: Remove explicit type specification
|
// ACTION: Remove explicit type specification
|
||||||
|
// ACTION: Add use-site target 'property'
|
||||||
<caret>@JvmField val number: Int
|
<caret>@JvmField val number: Int
|
||||||
get() = 42
|
get() = 42
|
||||||
@@ -4,5 +4,6 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make public
|
// ACTION: Make public
|
||||||
// ACTION: Remove explicit type specification
|
// ACTION: Remove explicit type specification
|
||||||
|
// ACTION: Add use-site target 'field'
|
||||||
fun getText() = ""
|
fun getText() = ""
|
||||||
<caret>@JvmField private val text: String = getText()
|
<caret>@JvmField private val text: String = getText()
|
||||||
@@ -4,4 +4,5 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make public
|
// ACTION: Make public
|
||||||
// ACTION: Remove explicit type specification
|
// ACTION: Remove explicit type specification
|
||||||
|
// ACTION: Add use-site target 'field'
|
||||||
<caret>@JvmField private val number: Int? = 42
|
<caret>@JvmField private val number: Int? = 42
|
||||||
@@ -5,5 +5,6 @@
|
|||||||
// ACTION: Make internal
|
// ACTION: Make internal
|
||||||
// ACTION: Make public
|
// ACTION: Make public
|
||||||
// ACTION: Specify type explicitly
|
// ACTION: Specify type explicitly
|
||||||
|
// ACTION: Add use-site target 'field'
|
||||||
val three = 3
|
val three = 3
|
||||||
<caret>@JvmField private val text = "${2 + three}"
|
<caret>@JvmField private val text = "${2 + three}"
|
||||||
Reference in New Issue
Block a user