Call expression changes in property initializer are OCB
#KT-38443 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
1cc58518c0
commit
1565fc0211
@@ -0,0 +1,10 @@
|
||||
// OUT_OF_CODE_BLOCK: TRUE
|
||||
// ERROR: No value passed for parameter 'i2'
|
||||
// TYPE: '\b\b'
|
||||
class Test {
|
||||
val foo = bar(1, 2<caret>)
|
||||
|
||||
fun bar(i: Int, i2: Int) = ""
|
||||
}
|
||||
|
||||
// TODO: it has to be non OCB !
|
||||
Reference in New Issue
Block a user