Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createClass/callExpression/afterCallWithSuperclassWithConstructorParams.kt
T
2014-11-11 14:42:45 +03:00

10 lines
164 B
Kotlin

// "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() {
}