Fix more broken QF tests

This commit is contained in:
Mikhail Glukhikh
2018-03-23 15:26:21 +03:00
parent e937a350fe
commit 804d340c5f
7 changed files with 7 additions and 0 deletions
@@ -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}"