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'
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Add annotation target
|
||||
|
||||
annotation class Ann
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Specify type explicitly
|
||||
// ACTION: Add annotation target
|
||||
|
||||
annotation class Ann
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
// ACTION: Make public
|
||||
// ACTION: Move to constructor
|
||||
// ACTION: Specify type explicitly
|
||||
// ACTION: Add use-site target 'field'
|
||||
class Foo {
|
||||
<caret>@JvmField private val a = "Lorem ipsum"
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: Remove explicit type specification
|
||||
// ACTION: Add use-site target 'property'
|
||||
<caret>@JvmField val number: Int
|
||||
get() = 42
|
||||
@@ -4,5 +4,6 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make public
|
||||
// ACTION: Remove explicit type specification
|
||||
// ACTION: Add use-site target 'field'
|
||||
fun getText() = ""
|
||||
<caret>@JvmField private val text: String = getText()
|
||||
@@ -4,4 +4,5 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make public
|
||||
// ACTION: Remove explicit type specification
|
||||
// ACTION: Add use-site target 'field'
|
||||
<caret>@JvmField private val number: Int? = 42
|
||||
@@ -5,5 +5,6 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make public
|
||||
// ACTION: Specify type explicitly
|
||||
// ACTION: Add use-site target 'field'
|
||||
val three = 3
|
||||
<caret>@JvmField private val text = "${2 + three}"
|
||||
Reference in New Issue
Block a user