Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
box
/
trailingComma
/
noDisambiguation.kt
blob: b654e916d6c3baf2608a8e491348c9c714e9f23f [
file
]
// !LANGUAGE: +TrailingCommas
fun foo
(
vararg x
:
Int
)
=
false
fun foo
(
x
:
Int
)
=
true
fun box
():
String
{
val x
=
foo
(
1
)
val y
=
foo
(
1
,)
return
if
(
x
&&
y
)
"OK"
else
"ERROR"
}