d54a35ef56
#KT-34026 Fixed #KT-34332 Fixed
14 lines
398 B
Kotlin
Vendored
14 lines
398 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: Remove argument
|
|
// ACTION: To raw string literal
|
|
|
|
class Foo(a: Int)
|
|
|
|
fun test() {
|
|
val a = Foo(2, <caret>"2")
|
|
} |