Add tests for cases when add and remove custom accessors for val with smartcasted usage
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
public fun usage() {
|
||||
val a = A()
|
||||
if (a.x != null) {
|
||||
a.x.dec()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user