mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-28592 Fixed GitOrigin-RevId: 4530af4e59e621d9feb8f1100cdb709a3ff1b0e1
12 lines
424 B
Kotlin
12 lines
424 B
Kotlin
// "Change 'y' to '*y'" "false"
|
|
// ACTION: Add 'toString()' call
|
|
// ACTION: Change parameter 'x' type of function 'foo' to 'Array<String>'
|
|
// ACTION: Convert to block body
|
|
// ACTION: Create function 'foo'
|
|
// ACTION: Enable option 'Function return types' for 'Types' inlay hints
|
|
// ERROR: Type mismatch: inferred type is Array<String> but String was expected
|
|
|
|
fun foo(x: String) {}
|
|
|
|
fun bar(y: Array<String>) = foo(y<caret>)
|