[Raw FIR] Synchronize enum entry building in PSI / light AST modes
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// T fun (() -> T).invoke(): T
|
||||
// │ │
|
||||
fun <T> run(block: () -> T): T = block()
|
||||
|
||||
fun test_1() {
|
||||
// fun <T> run<Unit>(() -> Unit): Unit
|
||||
// │
|
||||
run { return@run }
|
||||
// fun <T> run<???>(() -> ???): ???
|
||||
// │
|
||||
run { return }
|
||||
}
|
||||
|
||||
fun test_2() {
|
||||
// fun <T> run<Int>(() -> Int): Int
|
||||
// │ Int
|
||||
// │ │
|
||||
run(fun (): Int { return 1 })
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
// class Array<T>: Any, Cloneable, java/io/Serializable
|
||||
// │
|
||||
Array<String>::class
|
||||
}
|
||||
Reference in New Issue
Block a user