Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithExtraArgs.kt
T
Valentin Kipyatkov 3d422b47cb Intention action to convert string to raw string
(half of KT-5208)
2016-03-24 19:05:55 +03:00

12 lines
328 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: To raw string literal
class Foo(a: Int)
fun test() {
val a = Foo(2, <caret>"2")
}