Use proper KotlinType in get/set methods for property reference
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
inline class Foo(val z: String)
|
||||
|
||||
var f = Foo("zzz")
|
||||
|
||||
fun box(): String {
|
||||
(::f).set(Foo("OK"))
|
||||
return (::f).get().z
|
||||
}
|
||||
Reference in New Issue
Block a user