Files
kotlin-fork/compiler/testData/codegen/regressions/kt2716.kt
T
Alex Tkachman 79c04038fb accessor for private constructors #KT-2716 fixed
also on the way done small refactoring of JetTypeMapper
- few code duplicates replace by methods
- mapToCallableMethod(ConstructorDescriptor) introduced
2012-09-12 10:31:48 +03:00

12 lines
199 B
Kotlin

package someTest
public class Some private(val v: String) {
class object {
public fun init(v: String): Some {
return Some(v)
}
}
}
fun box() = Some.init("OK").v