Create scope with lazy import resolve

This commit is contained in:
Nikolay Krasko
2012-12-25 21:34:02 +04:00
parent 69f699e6a1
commit f2e78d9064
13 changed files with 616 additions and 80 deletions
@@ -0,0 +1,22 @@
//FILE:mainFile.kt
//----------------------------------------------------------------------------------
package test
import testing.other.*
import testing.TestFun
// Resolve should be ambiguous
val a = TestFun()
//FILE:testing.kt
//----------------------------------------------------------------------------------
package testing
class TestFun
//FILE:testingOther.kt
//----------------------------------------------------------------------------------
package testing.other
fun TestFun() = 12
@@ -0,0 +1,3 @@
package test
internal val a : [ERROR : Type for TestFun()]