Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
expressions
/
removeUselessCastInParens.kt
blob: 1b2c25399ab38d2b2e24b9cc70eb3d16ab8e12c6 [
file
] [
log
] [
blame
]
// "Remove useless cast" "true"
fun test
(
x
:
Any
):
Int
{
if
(
x
is
String
)
{
return
(
x
<caret>
as
String
).
length
}
return
-
1
}