Mpp: KT-23457, fix importing common classes into common modules

Add test for KT-23457
NOTE: fixes 'importClassInCommon' test
Other test cases added to increase coverage

 #KT-23457 Fixed
This commit is contained in:
Pavel V. Talanov
2018-04-24 17:47:46 +02:00
parent 64a28dd542
commit a4e327c137
29 changed files with 224 additions and 8 deletions

View File

@@ -0,0 +1,3 @@
package foo
class Foo

View File

@@ -0,0 +1,7 @@
// "Import" "true"
// ERROR: Unresolved reference: Foo
package bar
fun use(f: <caret>Foo) {
}

View File

@@ -0,0 +1,9 @@
// "Import" "true"
// ERROR: Unresolved reference: Foo
package bar
import foo.Foo
fun use(f: Foo) {
}