Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
resources
/
intentionDescriptions
/
LoopToLazyCallChainIntention
/
before.kt.template
blob: ac9a6724b7dd4f7a936a35ef0932e05b4cd648c1 [
file
] [
log
] [
blame
]
fun foo
(
list
:
List
<
String
>)
{
val sum
=
0
<spot>
for
(
s
in
list
)
{
val x
=
s
.
calcSomething
()
if
(
x
>
0
)
{
sum
+=
x
}
}</
spot
>
}