K2: reproduce KT-60229

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