Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/localFunctionInsideIfBlock.txt
T
Mikhail Zarechenskiy 2be08f4d60 [NI] Fix exception, recorded type for function statement can be null
See `checkStatementType`, we return `null` to reduce count of errors.

 Also, note that named function which is used as last statement in lambda
 doesn't coerce to Unit, this is a separate bug and will be addressed later,
 see #KT-25383

 #EA-121026 Fixed
2018-07-10 17:41:17 +03:00

4 lines
39 B
Plaintext
Vendored

package
public fun bar(): kotlin.Unit