Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6fc27c22f44d8051bf2e89f1657c0d9741c281c0
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
StringTemplate.kt
blob: d111d58de90a7d63c23e7ff330dc6fd99fa23095 [
file
]
// !CHECK_TYPE
fun foo
(
x
:
Number
,
y
:
String
?):
String
{
val result
=
"abcde $x ${x as Int} ${y!!} $x $y"
checkSubtype
<
Int
>(<!
DEBUG_INFO_SMARTCAST
!>
x
<!>)
checkSubtype
<
String
>(<!
DEBUG_INFO_SMARTCAST
!>
y
<!>)
return
result
}