Skip to content

Arrays are not compiled properly, converts an index inside from global to self #2

@Yule42

Description

@Yule42

Seems to be some issue of converting globals to selfs.
Can be recreated by editing a code file with an array in it.
Dissasembly before and after:

:[2]
pushi.e -5
pushglb.v global.menuno
conv.v.i
push.v [array]global.menucoord
pop.v.v self.currentspot
:[2]
pushi.e -5
pushglb.v global.menuno
conv.v.i
push.v [array]self.menucoord
pop.v.v self.currentspot

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions