Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/callWithSuperclassWithConstructorParams.kt.after
T
2017-05-20 23:44:20 +03:00

11 lines
167 B
Plaintext
Vendored

// "Create class 'Foo'" "true"
// ERROR: No value passed for parameter 'n'
open class A(n: Int)
fun test(): A = Foo(2, "2")
class Foo(i: Int, s: String) : A() {
}