Tests added for checking two-phase (classes and functions) import resolution

This commit is contained in:
Nikolay Krasko
2012-12-28 18:26:54 +04:00
parent ee227f01b9
commit d4e3a4f74d
5 changed files with 54 additions and 0 deletions
@@ -0,0 +1,17 @@
// FILE: propertyClassFileDependencyRecursion.kt
package test
import other.prop
// Note: "prop" is expected to be unresolved and replaced to Any
class PropType: 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