b0b7f39c75
Type of a block is a kind of irrelevant for lambdas: their type is much more complicated and defined via FirDataFlowAnalyzer#returnExpressionsOfAnonymousFunction at at FirCallCompleter.LambdaAnalyzerImpl#analyzeAndGetLambdaReturnArguments
16 lines
820 B
Plaintext
Vendored
16 lines
820 B
Plaintext
Vendored
FILE: main.kt
|
|
public final fun main(): R|kotlin/Unit| {
|
|
R|/MyFunction|<R|ft<kotlin/Int, kotlin/Int?>!|, R|ft<kotlin/String, kotlin/String?>!|>(<L> = MyFunction@fun <anonymous>(x: R|ft<kotlin/Int, kotlin/Int?>!|): R|ft<kotlin/String, kotlin/String?>!| {
|
|
^ R|<local>/x|.R|kotlin/Int.toInt|().R|kotlin/Any.toString|()
|
|
}
|
|
)
|
|
R|/MyFunction|<R|ft<kotlin/Int, kotlin/Int?>!|, R|ft<kotlin/String, kotlin/String?>!|>(<L> = MyFunction@fun <anonymous>(x: R|kotlin/Int|): R|ft<kotlin/String, kotlin/String?>!| {
|
|
^ R|<local>/x|.R|kotlin/Any.toString|()
|
|
}
|
|
)
|
|
R|/MyFunction|<R|kotlin/Nothing|, R|kotlin/Any?|>(<L> = MyFunction@fun <anonymous>(x: R|ft<kotlin/Nothing, kotlin/Nothing?>!|): R|kotlin/Any?| {
|
|
^ String()
|
|
}
|
|
)
|
|
}
|