Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
1f4312a93b0f3e8cf51846780ba510d0a3c04f95
/
.
/
js
/
js.translator
/
testData
/
lineNumbers
/
complexExpressionAsDefaultArgument.kt
blob: 2e76a18ed0b815833e477c9e28a3e6fafffddef3 [
file
] [
log
] [
blame
]
fun foo
(
a
:
Int
=
when
(
baz
())
{
1
->
bar
();
else
->
0
}
):
Int
=
a
+
1
fun baz
()
=
1
fun bar
()
=
2
// LINES(JS_IR): 1 2 8 * 4 3 4 5 * 8 8 10 10 10 10 12 12 12 12