Call expression changes in property initializer are OCB

#KT-38443 Fixed
This commit is contained in:
Vladimir Dolzhenko
2020-04-22 21:41:38 +02:00
committed by Vladimir Dolzhenko
parent 1cc58518c0
commit 1565fc0211
5 changed files with 63 additions and 6 deletions
@@ -0,0 +1,11 @@
// 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