-
Notifications
You must be signed in to change notification settings - Fork 21
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
Plugin generates unhygienic code #162
Comments
Using type MyEq = Eq then instance MyEq T where .. This means that for classes we must define the precise location of the class; for the |
Released as https://hackage.haskell.org/package/large-records-0.4.2 . |
Our custom prelude exports
error
as an alias forerrorRequireCallStack
, which causes thelarge-record
plugin to fail with this compiler error message:We can work-around this by hiding custom
error
and usingPrelude.error
but I think it'd be better if the plugin were hygienic about the terms it usesThe text was updated successfully, but these errors were encountered: