kotlin-spec
kotlin-spec copied to clipboard
operators.md: fix expansion of `[0] =`
The text said foo[0] = bar
is expanded to foo.set(bar)
, but foo.set(0, bar)
would be correct.
The text said foo[0] = bar
is expanded to foo.set(bar)
, but foo.set(0, bar)
would be correct.