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