Ark
Ark copied to clipboard
REPL: can't import plugin and use it
Describe the bug It seems like when we import a plugin in the REPL and then try to run one of its function, it's deleted before running the function.
To Reproduce Steps to reproduce the behavior:
- Compile arkscript and the console module
- Run
build/arkscript
- Type
(import "console.arkm")
in the REPL, then hit enter ; type(console:clear)
and hit enter - See error
Expected behavior The functions of the imported modules should stay imported.
Code or Screenshots
ArkScript version or commit hash 3.1.1