"field" reassignment: fix and test
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
val my: Int = 1
|
||||
get() {
|
||||
field++
|
||||
return field
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public val my: kotlin.Int = 1
|
||||
Reference in New Issue
Block a user