Files
kotlin-fork/idea/testData/quickfix/autoImports/callWithTrailingComma.before.Dependency.kt
T
2019-11-17 15:19:28 +03:00

14 lines
323 B
Kotlin
Vendored

// "Import" "true"
// ERROR: Type mismatch: inferred type is Int but String was expected
// ACTION: Add 'toString()' call
// ACTION: Change parameter 'p' type of function 'foo' to 'Int'
// ACTION: Create function 'foo'
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
package other
import main.X
fun X.foo(p: Int) {
}