Value Classes: Forbid var properties with value class receivers
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
inline class IC(val a: Any) {
|
||||
var member: Any
|
||||
get() = a
|
||||
set(value) {}
|
||||
}
|
||||
|
||||
var IC.extension: Any
|
||||
get() = a
|
||||
set(value) {}
|
||||
Reference in New Issue
Block a user