Imports resolution tests

This commit is contained in:
Nikolay Krasko
2013-02-01 21:11:43 +04:00
parent e69acd9198
commit 54e5fa5256
22 changed files with 795 additions and 118 deletions
@@ -0,0 +1,29 @@
//FILE:withAllUnderImportsSecond.kt
//----------------------------------------------------------------------------------
package test
import testing.first.*
import testing.second.*
val a1 = ~second~testFun()
//FILE:withAllUnderImportsFirst.kt
//----------------------------------------------------------------------------------
package test
import testing.second.*
import testing.first.*
val a1 = ~first~testFun()
//FILE:importFirst.kt
//----------------------------------------------------------------------------------
package testing.first
fun ~first~testFun(): Int = 12
//FILE:importSecond.kt
//----------------------------------------------------------------------------------
package testing.second
fun ~second~testFun(): Int = 12