google-developer-training / kotlin-bootcamp

Report issues with the Kotlin Bootcamp for Programmers codelab
7 stars 2 forks source link

L3.2.3 Pairs Triples issue: #183

Open tibolanneau opened 1 year ago

tibolanneau commented 1 year ago

Describe the problem output step 1.3 does not match mine. I get: error: unresolved reference. None of the following candidates is applicable because of receiver type mismatch: public fun Array.sum(): Int defined in kotlin.collections

Instead of: error: none of the following functions can be called with the arguments supplied:

In which step of the codelab can this issue be found? 1.3.

Steps to reproduce? execute:

val list2 = listOf("a", "bbb", "cc") println(list2.sum())

Versions Flamingo 2022.2.1

Additional information /

codelab: kotlin-bootcamp