Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionFunctions
/
extensionFunctionOverride.kt
blob: e46f6ee2fea013b559034cfa7df4cc8bed2e34ca [
file
]
interface
Base
{
fun
Int
.
foo
():
String
val
Int
.
a
:
String
}
class
A
:
Base
{
override
fun
Int
.
foo
():
String
{
return
"O"
}
override
val
Int
.
a
:
String
get
()
=
"K"
}
fun box
():
String
{
with
(
A
()){
return
1.foo
()
+
1.a
}
}