backend: improve typealias support:
* handle TypeAliasConstructorDescriptor in codegen * ignore ignore typealias declaration in codegen Also add test 'typealias1'.
This commit is contained in:
committed by
SvyatoslavScherbina
parent
65444ec690
commit
0958d32605
@@ -0,0 +1,6 @@
|
||||
fun main(args: Array<String>) {
|
||||
println(Bar(42).x)
|
||||
}
|
||||
|
||||
class Foo(val x: Int)
|
||||
typealias Bar = Foo
|
||||
Reference in New Issue
Block a user