[IR] update testdata: better support for enum and object accesses

This commit is contained in:
Zalim Bashorov
2020-11-10 19:54:38 +03:00
committed by teamcityserver
parent 1fd12b7b8a
commit 5cb2572c60
13 changed files with 28 additions and 28 deletions
@@ -28,8 +28,8 @@ open enum class MyEnum : Enum<MyEnum> {
val aLambda: Function0<Unit>
field = local fun <anonymous>() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
}
get
@@ -44,13 +44,13 @@ open enum class MyEnum : Enum<MyEnum> {
}
init {
Z.<set-counter>(<set-?> = 1)
Z.foo()
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
}
fun test() {
Z.<set-counter>(<set-?> = 1)
Z.foo()
MyEnum.Z.<set-counter>(<set-?> = 1)
MyEnum.Z.foo()
}
}