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:
committed by
Mikhail Glukhikh
parent
8047aa22a4
commit
aebe8c36f5
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user