Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
argumentOrder
/
argumentOrderInObjectSuperCall.kt
blob: b194d4365b3c95410efa7d56dbc8fc27b0a93fdb [
file
] [
log
] [
blame
]
var
result
=
"fail"
open
class
Base
(
val o
:
String
,
val k
:
String
)
fun box
():
String
{
val obj1
=
object
:
Base
(
k
=
{
result
=
"O"
;
"K"
}()
,
o
=
{
result
+=
"K"
;
"O"
}())
{}
if
(
result
!=
"OK"
)
return
"fail $result"
return
obj1
.
o
+
obj1
.
k
}