Closed TimWhiting closed 5 months ago
ha ha, that is a funny bug... if you rename index
to say ndex
it works :-) I think I introduced this bug when streamlining identifiers recently and using the name index
for the previous [_]
method. I'll fix this asap.
edit: I see what happens, the expression result[index]
is translated into index(result,index)
..
Fixed now in dev
. I may redesign this a bit more but perhaps first I'll update the spec with the new grammar changes to identifiers. Thanks again!
Discussed in https://github.com/koka-lang/koka/discussions/434