Kotlin / kotlin-spec

Kotlin Language Specification:
https://kotlinlang.org/spec
Apache License 2.0
387 stars 80 forks source link

operators.md: fix expansion of `[0] =` #116

Open jcsahnwaldt opened 1 year ago

jcsahnwaldt commented 1 year ago

The text said foo[0] = bar is expanded to foo.set(bar), but foo.set(0, bar) would be correct.