mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
13 lines
371 B
Kotlin
Vendored
13 lines
371 B
Kotlin
Vendored
// "Create class 'Foo'" "false"
|
|
// ACTION: Create function 'Foo'
|
|
// ACTION: Add parameter to constructor 'Foo'
|
|
// ACTION: Create secondary constructor
|
|
// ERROR: Too many arguments for public constructor Foo(a: Int) defined in Foo
|
|
// ACTION: Put arguments on separate lines
|
|
// ACTION: To raw string literal
|
|
|
|
class Foo(a: Int)
|
|
|
|
fun test() {
|
|
val a = Foo(2, <caret>"2")
|
|
} |