FIR IDE: Update FIR diagnostic test data for

INAPPLICABLE_LATEINIT_MODIFIER.
This commit is contained in:
Mark Punzalan
2021-02-13 07:38:29 +00:00
committed by Ilya Kirillov
parent 4e44804c77
commit 2f450549ab
10 changed files with 53 additions and 83 deletions
@@ -1,14 +0,0 @@
// !LANGUAGE: +LateinitTopLevelProperties
object Delegate {
operator fun getValue(instance: Any?, property: Any) : String = ""
operator fun setValue(instance: Any?, property: Any, value: String) {}
}
lateinit var testOk: String
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit val testErr0: Any<!>
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit var testErr1: Int<!>
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit var testErr2: Any?<!>
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit var testErr3: String = ""<!>
<!INAPPLICABLE_LATEINIT_MODIFIER!>lateinit var testErr4 by Delegate<!>
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +LateinitTopLevelProperties
object Delegate {