Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
refactoring
/
introduceVariable
/
WhenValuedAddBlock.kt.after
blob: c19d17fe0364d9cf96ddcf71e1650d4b4b50c666 [
file
] [
log
] [
blame
]
fun a
(
x
:
Int
)
{
val t
=
when
{
x
>
0
->
{
val i
=
x
*
x
i
+
1
}
x
<
0
->
x
+
x
else
->
0
}
}