test for KT-1580
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
//FILE:a.kt
|
||||||
|
//KT-1580 Can't access nested class/trait from other package
|
||||||
|
package lib
|
||||||
|
trait WithInner {
|
||||||
|
trait Inner {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//FILE:b.kt
|
||||||
|
package user
|
||||||
|
|
||||||
|
import lib.WithInner
|
||||||
|
|
||||||
|
fun main(<!UNUSED_PARAMETER!>a<!> : WithInner, <!UNUSED_PARAMETER!>b<!> : WithInner.Inner) {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user