Files
kotlin/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithMissingArgs.kt
2017-05-20 23:44:20 +03:00

12 lines
285 B
Kotlin
Vendored

// "Create class 'Foo'" "false"
// ACTION: Create function 'Foo'
// ACTION: Remove parameter 's'
// ACTION: Create secondary constructor
// ACTION: Add 'i =' to argument
// ERROR: No value passed for parameter 's'
class Foo(i: Int, s: String)
fun test() {
val a = Foo(2<caret>)
}