[Wasm] Fixed invalid delegated property getters lowering
#Fixed KT-58941
This commit is contained in:
committed by
Space Team
parent
488d24296a
commit
e8e8a26cd1
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class Delegate {
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
inline operator fun Double.provideDelegate(thisRef: Any?, kProp: Any?) = this.toLong()
|
||||
|
||||
inline operator fun Long.getValue(thisRef: Any?, kProp: Any?) = this.toInt()
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WITH_STDLIB
|
||||
|
||||
object Host {
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: -ForbidUsingExtensionPropertyTypeParameterInDelegate
|
||||
// IGNORE_BACKEND: WASM
|
||||
// SKIP_MANGLE_VERIFICATION
|
||||
//For KT-6020
|
||||
// KT-24643: language version in K2 is >= 1.8
|
||||
|
||||
Reference in New Issue
Block a user