Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6fc27c22f44d8051bf2e89f1657c0d9741c281c0
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
StringTemplate.fir.kt
blob: 991605891da9031b98ce2cd4586abd0dc799f8a7 [
file
]
// !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
}