Files
kotlin-fork/analysis/low-level-api-fir/testData/lazyResolve/secondaryConstructorParameterScript.kts
Dmitrii Gridin 33e6a85a2d [LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
2023-09-18 21:12:45 +00:00

7 lines
160 B
Kotlin
Vendored

class A(val prop: Int = 42, c: String) {
constructor(st<caret>r: String) : this(str.myToInt(), str)
fun foo() = "str"
}
fun String.myToInt(): Int = 42