Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
comanionObjectFieldVsClassField.kt
blob: b5249099f80a2fef96bb37794c306644279a58a2 [
file
] [
log
] [
blame
]
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
class
Host
{
val ok
=
"OK"
fun foo
()
=
run
{
bar
(
ok
)
}
companion
object
{
val ok
=
0
fun bar
(
s
:
String
)
=
s
.
substring
(
ok
)
}
}
fun box
()
=
Host
().
foo
()