Call expression changes in property initializer are OCB
#KT-38443 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
1cc58518c0
commit
1565fc0211
+11
@@ -0,0 +1,11 @@
|
||||
// TODO: it has to be non OCB !
|
||||
// OUT_OF_CODE_BLOCK: TRUE
|
||||
// ERROR: The integer literal does not conform to the expected type String?
|
||||
// TYPE: '\b\b\b\b'
|
||||
class Test {
|
||||
val foo: String? = "a"+<caret>1
|
||||
|
||||
fun bar(i: Int, i2: Int) = ""
|
||||
}
|
||||
|
||||
// SKIP_ANALYZE_CHECK
|
||||
Reference in New Issue
Block a user