Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
HEAD
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
arguments
/
overloadWithDefault.kt
blob: f1aa91ea0b6dc57c81a7ea0f68023514c3e8df66 [
file
]
// RUN_PIPELINE_TILL: CODEGEN
interface
A
{
fun foo
(
b
:
Boolean
=
false
):
A
fun foo
(
block
:
()
->
Boolean
):
A
}
fun test
(
a
:
A
)
{
a
.
foo
{
true
}
}
/* GENERATED_FIR_TAGS: functionDeclaration, functionalType, interfaceDeclaration, lambdaLiteral */