Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/FunVsCtorInDifferentFiles.fir.kt
T

10 lines
172 B
Kotlin
Vendored

// FILE: test1.kt
class A
class B(val x: Int) {
constructor(x: Int, y: Int): this(x + y)
}
// FILE: test2.kt
fun A() {}
fun B(x: Int) = x
fun B(x: Int, y: Int) = x + y