Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithMissingArgs.kt
T
Valentin Kipyatkov 463b0cda79 Fixed test data
2015-06-29 19:29:26 +03:00

12 lines
283 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>)
}