Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support meta-commands to remove variables and unimport (or reimport) modules #28

Open
timotheecour opened this issue Jul 18, 2018 · 1 comment
Projects

Comments

@timotheecour
Copy link
Contributor

without unimport (or reimport), there's no way to modify a module once imported

@0atman 0atman added this to Needs triage in Bug Triage Apr 8, 2020
@Tangdongle
Copy link
Collaborator

Tangdongle commented Apr 21, 2020

This could possibly be fixed by changing the scrFile argument to be compiled in addition to the main buffer code, as opposed to being inserted as preloaded data.

For the import calls, we could probably support unimport. Unimport would delete a line matching import <name> from the source buffer. Modules imported in the repl should be automatically recompiled if the import source code changes (I think, maybe it needs a -f to force compilation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Bug Triage
  
Needs triage
Development

No branches or pull requests

2 participants