Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/SimpleValAnonymousObject.B.kt
T
Alexander Udalov 085fc3bf87 Transform anonymous types even for public symbols
This became necessary when we removed the requirement to specify types for
public members, because otherwise everything fails not being able to locate the
anonymous class from another module

 #KT-9072 Fixed
 EA-72801
2015-09-11 19:51:42 +03:00

7 lines
101 B
Kotlin
Vendored

import pkg.ClassA
fun main(args: Array<String>) {
val obj = ClassA.DEFAULT
obj.toString()
}