KT-64832 [FIR] Add more testData for invoke on local variables
Covers: - suspend functional local variables - overloads - custom types with invoke operator
This commit is contained in:
committed by
Space Team
parent
2c90f1327d
commit
0cad4c9632
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
FILE: invokeOverload2.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
lval x: R|(kotlin/String) -> kotlin/Unit| = fun <anonymous>(s: R|kotlin/String|): R|kotlin/Unit| <inline=Unknown> {
|
||||
}
|
||||
|
||||
local final fun nested(): R|kotlin/Unit| {
|
||||
lval x: R|(kotlin/Int) -> kotlin/Unit| = fun <anonymous>(i: R|kotlin/Int|): R|kotlin/Unit| <inline=Unknown> {
|
||||
}
|
||||
|
||||
R|<local>/x|.R|SubstitutionOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(Int(10))
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user