Proof test for recursion in lazy resolve when classes and properties are trying to be imported into file scope

This commit is contained in:
Nikolay Krasko
2012-12-02 16:52:54 +04:00
parent 5368e8cef3
commit f28a4c5464
3 changed files with 25 additions and 4 deletions
@@ -0,0 +1,15 @@
// FILE: fileDependencyRecursion.kt
package test
import testOther.some
val normal: Int = 1
val fromImported: Int = some
// FILE: fileDependencyRecursionOther.kt
package testOther
import test.normal
val some: Int = 1
val fromImported: Int = normal