Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
260e8dfd39d86c4c5db834113ee010d647f3995e
/
.
/
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"
}