Add test for lookups to top level declarations

Original commit: 556c755e83
This commit is contained in:
Zalim Bashorov
2015-08-14 19:21:28 +03:00
parent 6ce54f59b8
commit 2d5f0f428c
6 changed files with 45 additions and 1 deletions
@@ -0,0 +1,17 @@
package foo
import bar.*
import baz./*p:baz*/C
/*p:foo*/val a = /**p:foo p:bar*/A()
/*p:foo*/var b: /*p:foo p:bar*/baz./*p:baz*/B = /**p:foo p:bar*/baz./**p:baz*/B()
/*p:foo*/fun function(p: /*p:foo p:bar*/B): /*p:foo p:bar*/B {
/**p:foo*/a
return /**p:foo p:bar*/B()
}
/*p:foo*/fun /*p:foo*/MyClass.extFunc(p: /**p:foo p:bar*//*p:foo*/Array</*p:foo p:bar*/B>, e: /*p:foo*/MyEnum, c: /**???*/C): /*p:foo*/MyInterface {
/**p:foo*/b
return /**p:foo*/MyClass()
}