Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
box
/
argumentOrder
/
kt9277.kt
blob: eb08fb7b719f789bf3869ef388d6a95307da05da [
file
] [
log
] [
blame
]
// KT-9277 Unexpected NullPointerException in an invocaton with named arguments
fun box
():
String
{
foo
(
null
)
return
"OK"
}
fun foo
(
x
:
Int
?){
bar
(
z
=
x
?:
return
,
y
=
x
)
}
fun bar
(
y
:
Int
,
z
:
Int
)
{}