-
Notifications
You must be signed in to change notification settings - Fork 28
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
Passing -fdefer-type-errors to GHC causes confusing errors from LH #119
Comments
I ran into this problem during the tutorial too -- due to a missing pair of parentheses -- and removing
|
Wow thanks for catching this Mark! I think we should totally remove that flag (tbh can’t recall why it was put in in the first place!) |
@ranjitjhala I opened #120 a while ago to fix this. As far as I can tell removing the flag doesn't have any impact on the tutorial whatsoever. |
While implementing
head''
inTutorial_04_Polymorphism
I made the following small typo:(Note the misspelling of
length
aslengt
). Rather than a standard "name not in scope" error, this led to the following error:After some investigation, I narrowed the cause down to the fact that
-fdefer-type-errors
is passed to GHC as part of building the tutorial project. Is this flag still necessary? I seem to have no major issues building the tutorial without passing that argument, and removing it results in the expected GHC error message being raised.The text was updated successfully, but these errors were encountered: