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,13 @@
// FILE: importFunctionWithAllUnderImport.kt
package test
import testOther.*
class B: A()
val inferTypeFromImportedFun = testFun()
// FILE: importFunctionWithAllUnderImportOther.kt
package testOther
open class A
fun testFun() = 1