Check type alias expansion for Java 9 module accessibility
#KT-18598 In Progress
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package exported
|
||||
|
||||
import unexported.*
|
||||
|
||||
typealias AliasToUnexported = Unexported
|
||||
typealias AliasToListOfUnexported = List<AliasToUnexported>
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
module dependency {
|
||||
exports exported;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package unexported
|
||||
|
||||
class Unexported
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
module main {
|
||||
requires dependency;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import exported.*
|
||||
|
||||
fun f1(): <error>AliasToUnexported</error>? = null
|
||||
fun f2(): AliasToListOfUnexported? = null
|
||||
Reference in New Issue
Block a user