K2: fix an exception during function resolve #KT-59649 Fixed
This commit is contained in:
committed by
Space Team
parent
d557bcaba4
commit
6bed02fed3
+9
@@ -0,0 +1,9 @@
|
||||
FILE: propertyGetterWithoutType.kt
|
||||
public final val prop: <ERROR TYPE REF: empty body>
|
||||
public get(): <ERROR TYPE REF: empty body> {
|
||||
local final fun smth(s: R|kotlin/String|): R|kotlin/Int| {
|
||||
^smth Int(1)
|
||||
}
|
||||
|
||||
^ R|<local>/smth|(String(awd))
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// ISSUE: KT-59649
|
||||
val prop
|
||||
get() {
|
||||
fun smth(s: String) = 1
|
||||
return smth("awd")
|
||||
}
|
||||
Reference in New Issue
Block a user