Add tests for cases when add and remove custom accessors for val with smartcasted usage

This commit is contained in:
Zalim Bashorov
2015-09-24 22:50:48 +03:00
parent c6409138d8
commit 79ac436b9f
10 changed files with 93 additions and 0 deletions
@@ -0,0 +1,8 @@
package test
public fun usage() {
val a = A()
if (a.x != null) {
a.x.dec()
}
}