-
Notifications
You must be signed in to change notification settings - Fork 63
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
cabal repl saw
fails if cabal build
isn't run beforehand
#1004
Comments
Ah, this is because Looking at this script more closely, however, all it appears to do is compute the |
IIRC, the Template Haskell approach didn't work because some of the code from the For the moment, loading just the |
Really? I'm able to load |
Maybe GHCi is better now! :) Which version is this? |
It fails for me with 8.6.5, which is one of the versions I'd like to continue supporting for a little while. Once 9.0.1 is out, I think dropping 8.6.5 might make sense. |
GHC 8.10.3 on Linux. |
This also might be a macOS-specific problem, since object file formats are different on macOS and Linux. I'm currently testing 8.8.4 and then I'll try 8.10.3. |
Interesting. I'm able to |
I get two different results for two different commands. Doing exactly what you did yields this:
Using
I've confirmed that the same happens with 8.8.4. |
Thanks. I now see that In that case, I'll wait until the |
I also want to do a bit more performance testing before finalizing it, but it's otherwise ready. |
Maybe this can be resolved now that |
Indeed. I wasn't able to reproduce the issue above since I don't use macOS. Could a macOS user try running |
One addition challenge is that after #1908, Lines 39 to 54 in 8561a21
It's unclear to me if the |
From a clean
git
clone ofsaw-script
, runningcabal repl saw
fails:Curiously, this doesn't occur if
cabal build
is ran beforecabal repl saw
.The text was updated successfully, but these errors were encountered: