Proof test for recursion in lazy resolve when classes and properties are trying to be imported into file scope
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,4 @@
|
||||
namespace test
|
||||
|
||||
internal final val fromImported: jet.Int
|
||||
internal final val normal: jet.Int
|
||||
Reference in New Issue
Block a user