JS: repair serialization of type aliases
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
lib->
|
||||
main->lib
|
||||
@@ -0,0 +1,13 @@
|
||||
package lib
|
||||
|
||||
object O {
|
||||
val x = "O"
|
||||
|
||||
val y = "K"
|
||||
}
|
||||
|
||||
class C {
|
||||
typealias B = O
|
||||
}
|
||||
|
||||
typealias A = O
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
import lib.*
|
||||
|
||||
fun box() = A.x + C.B.y
|
||||
Reference in New Issue
Block a user