Files
openide/plugins/kotlin/idea/tests/testData/codeInsight/outOfBlock/InClassPropertyInitializerWithoutInference.kt
Vladimir Dolzhenko 02976cde01 Call expression changes in property initializer are OCB
#KT-38443 Fixed

Original commit: 1565fc0211dd0d970837afd1e4f7a7b2b1d371d5

GitOrigin-RevId: 92df0d83a4045b5d4eb45983c3f705adbdfe2155
2020-05-12 14:24:53 +03:00

12 lines
239 B
Kotlin

// TODO: it has to be non OCB !
// OUT_OF_CODE_BLOCK: TRUE
// ERROR: No value passed for parameter 'i2'
// TYPE: '\b\b'
class Test {
val foo: String? = "a" + bar(1, 2<caret>)
fun bar(i: Int, i2: Int) = ""
}
// SKIP_ANALYZE_CHECK