Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fe0f055c5c4e6ededc6378ef6df3f28ee841978
/
.
/
compiler
/
visualizer
/
testData
/
uncommonCases
/
testFiles
/
innerWith.kt
blob: 0d15de612daaa50008ad482eece513f2e7d59b1c [
file
]
package
p
class
A
{
val aProp
=
10
fun call
()
{}
}
class
B
{
val bProp
=
1
}
fun foo
(
a
:
Int
,
b
:
Int
):
Int
{
with
(
A
())
{
aProp
call
()
with
(
B
())
{
aProp
bProp
aProp
}
}
with
(
A
())
{
aProp
with
(
B
())
{
aProp
bProp
}
with
(
B
())
{
aProp
bProp
}
}
return
a
}