Commits
Click on a commit to change the comparison rangefeat(closures): captures are no longer fully qualified
This means that we can safely capture top-level variables
in packages, without having to write closure.pkg:var later
on. Internally, variables are still fully qualified, but
a rename instruction has been added for captures, and
unqualified names are tracked in the AST for this to work. chore: enhancing code with cppcheck suggestions fix(vm): loading a module was breaking LOAD_SYMBOL_BY_INDEX instructions, because it put its mapping at the end of the global scope
This resulted either in data from scope 1+ being overwritten, or
invalid indices for LOAD_SYMBOL_BY_INDEX, as we added one or more
locals between the local we wanted to load and the last module's
local. refactor(vm, module): moving the module mapping type definition to a separate file to avoid code duplication and circular includes fix(ci): import tests/unittests/testmodule.arkm in artifacts