Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
loopToCallChain
/
sum
/
bytes.kt.after
blob: dd2549c3e29c9faec710a5cb063aa904418e92c2 [
file
] [
log
] [
blame
]
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'sum()'"
// IS_APPLICABLE_2: false
fun foo
(
list
:
List
<
Byte
>):
Int
{
val
<caret>
s
=
list
.
sum
()
return
s
}