Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a94a6dc085d3d1f1010ea8bbc9d8754c3aa02b35
/
.
/
compiler
/
testData
/
codegen
/
box
/
contextParameters
/
kt52373.kt
blob: 27373d368dbe912aae8987b0e95e6d387e1336d3 [
file
]
// LANGUAGE: +ContextParameters
class
Context
class
Extended
class
Containing
{
context
(
_
:
Context
)
fun
Extended
.
foo
(
obj
:
Any
?
=
null
)
{}
}
fun box
():
String
{
with
(
Containing
())
{
with
(
Context
())
{
Extended
().
foo
()
}
}
return
"OK"
}