You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to import $file, except that it dumps the definitions and imports from the script into your REPL session. This is useful if you are using a script to hold a set of common imports: using import $file to import a script doesn't propagate imports from that script into your REPL.
Thanks for reporting! Normally ammonite generates special files that we can use to make it all work with the $file imports. This doesn't seem to happen with $exec, not sure where it can be handled. @alexarchambault any pointer where we should look?
Describe the bug
https://ammonite.io/#import$exec
To Reproduce
Steps to reproduce the behavior:
imports.sc
script.sc
Metals shows an error: "not found: value hello".
Expected behavior
Metals shows no errors.
Installation:
The text was updated successfully, but these errors were encountered: