K2 scripting: support script-level typealiases
This commit is contained in:
committed by
Space Team
parent
70d2fcd9c4
commit
1a735b0842
@@ -1,9 +0,0 @@
|
||||
<!TOPLEVEL_TYPEALIASES_ONLY!>typealias TopLevelInScript = String<!>
|
||||
|
||||
class C {
|
||||
<!TOPLEVEL_TYPEALIASES_ONLY!>typealias NestedInClass = String<!>
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
<!TOPLEVEL_TYPEALIASES_ONLY!>typealias Local = String<!>
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
typealias TopLevelInScript = String
|
||||
|
||||
class C {
|
||||
|
||||
Reference in New Issue
Block a user