Type aliases.
This commit is contained in:
committed by
Dmitry Petrov
parent
1b5dd50359
commit
264c8afc78
@@ -0,0 +1,9 @@
|
||||
typealias Test1 = String
|
||||
|
||||
fun foo() {
|
||||
typealias TestLocal = String
|
||||
}
|
||||
|
||||
class C {
|
||||
typealias TestNested = String
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
FILE /typeAlias.kt
|
||||
TYPEALIAS Test1 type=kotlin.String
|
||||
FUN public fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
TYPEALIAS TestLocal type=kotlin.String
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
||||
TYPEALIAS TestNested type=kotlin.String
|
||||
Reference in New Issue
Block a user