Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
regression
/
kt10001.kt
blob: 20d8989fb086dbaf70281de0c6fcadaa97f98011 [
file
] [
log
] [
blame
]
// FIR_IDENTICAL
fun foo1
(
p
:
Pair
<
Int
?,
Int
>):
Int
{
if
(
p
.
first
!=
null
)
return
p
.
first
!!
return
p
.
second
}
fun foo2
(
p
:
Pair
<
Int
?,
Int
>):
Int
{
if
(
p
.
first
!=
null
)
return
<!
SMARTCAST_IMPOSSIBLE
!>
p
.
first
<!>
return
p
.
second
}