Add test methods and data for uncommon cases

Uncommon means mostly that aren't present in raw fir builder data
This commit is contained in:
Ivan Cilcic
2019-08-15 13:45:22 +03:00
committed by Mikhail Glukhikh
parent 8047aa22a4
commit aebe8c36f5
15 changed files with 474 additions and 0 deletions
@@ -0,0 +1,36 @@
package p
class A {
val aProp = 10
}
class B {
val bProp = 1
}
fun foo(a: Int, b: Int): Int {
with(A()) {
aProp
with(B()) {
aProp
bProp
aProp
}
}
with(A()) {
aProp
with(B()) {
aProp
bProp
}
with(B()) {
aProp
bProp
}
}
return a
}