mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
12 lines
285 B
Kotlin
Vendored
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>)
|
|
} |