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
cd! is not found in script #500
Comments
not surprising, but this works, but fails later when you try to use % or %% b/c of ambiguous Implicits cat test.sc
I just want to know if i can use Thanks |
Thanks for the fix on the ambiguous imports. Do you have any comments on the original issue? This was simply a hack to try to get around the issue temporarily. This is reproducible on a completely new machine after installing 0.7.9 Thanks! |
Sorry should have written about this a while ago, the fix for this, at least one without a code change is to create a predefScript.sc that can look identical to predef.sc minus the instantiation of the repl(last line as of 0.8.0). This has been working nicely on 0.8.0. For people interested in where this information is, you can dig into the Internals Documentation, specifically: (predef)[https://github.com/lihaoyi/Ammonite/blob/master/internals-docs/predef.md] Thanks @lihaoyi and contributors for a very helpful product. Please feel free to close this as i don't believe i can. |
|
Thanks but the real issue, and it was solved in other ways in the change in behaviour between 0.7.6 and 0.8.0, from memory, responding only so if people try to upgrade |
Is there an imperative technical reason for ammonite-shell and ammonite-script to differ? |
@gnoireaux - i realize this does not answer your inquiry, but as i use
There could probably be less in this file, but ... if it ain't broke... |
whoops i guess i basically said the same above, oh well now it's states exactly what i have. |
Hello, i have completely blown away my ammonite installation of 0.7.0 and am upgrading to 0.7.8, i have cleared the entire ~/.ammonite directory as well as removing the amm binary, in the shell with the predef.sc downloaded
cd!
works correctly, in this simple script it gives the following error.cat TestCd.sc
I know this will be simple and it seems odd that it compiles in other scripts, before and after the clearing of the cache, so that is when i reduced my issue to this simple set of commands and in this case i likely do not need ImplicitWd._
Thanks!
Jeff
The text was updated successfully, but these errors were encountered: