K2: expand return type properly in FirReturnTypeChecker

#KT-60229 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-07-13 13:46:00 +02:00
committed by Space Team
parent 402e1de5fe
commit 51e8a72f47
3 changed files with 5 additions and 9 deletions
@@ -1,8 +0,0 @@
// ISSUE: KT-60299
private typealias T = Unit
internal fun x(): T {
val something = "OK"
something.hashCode()
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// ISSUE: KT-60299
private typealias T = Unit