Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/propertyClassFileDependencyRecursion.kt
T
2014-12-29 18:00:16 +03:00

18 lines
433 B
Kotlin
Vendored

// FILE: propertyClassFileDependencyRecursion.kt
package test
import other.prop
// Note: "prop" is expected to be unresolved and replaced to Any
class PropType: <!UNRESOLVED_REFERENCE!>prop<!>
// Note: this time "prop" should be resolved and type should be inferred for "checkTypeProp"
val checkTypeProp = prop
// FILE: propertyClassFileDependencyRecursionOther.kt
package other
import test.PropType
val prop: PropType? = null