mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -5,6 +5,6 @@ fun box(): String {
|
||||
val a = J()
|
||||
val p = J::class.members.single { it.name == "result" } as KMutableProperty1<J, String>
|
||||
p.isAccessible = true
|
||||
p[a] = "OK"
|
||||
return p[a]
|
||||
p.set(a, "OK")
|
||||
return p.get(a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user