Ark icon indicating copy to clipboard operation
Ark copied to clipboard

REPL: can't import plugin and use it

Open SuperFola opened this issue 3 years ago • 0 comments

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:

  1. Compile arkscript and the console module
  2. Run build/arkscript
  3. Type (import "console.arkm") in the REPL, then hit enter ; type (console:clear) and hit enter
  4. See error

Expected behavior The functions of the imported modules should stay imported.

Code or Screenshots image

ArkScript version or commit hash 3.1.1

SuperFola avatar Oct 16 '21 16:10 SuperFola