Added language feature check for inline properties
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// !LANGUAGE: -InlineProperties
|
||||
var value: Int = 0
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>inline<!> var z: Int
|
||||
get() = ++value
|
||||
set(p: Int) { value = p }
|
||||
|
||||
|
||||
var z2: Int
|
||||
<!UNSUPPORTED_FEATURE!>inline<!> get() = ++value
|
||||
<!UNSUPPORTED_FEATURE!>inline<!> set(p: Int) { value = p }
|
||||
@@ -0,0 +1,5 @@
|
||||
package
|
||||
|
||||
public var value: kotlin.Int
|
||||
public var z: kotlin.Int
|
||||
public var z2: kotlin.Int
|
||||
Reference in New Issue
Block a user