-
Notifications
You must be signed in to change notification settings - Fork 203
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
yi does not build with -XMonadFailDesugaring enabled (default in GHC 8.6+) #1102
Comments
Apologies for the fact that I forgot to copy the error I was getting the other day. There's likely more than one place, the easiest way to see all of them is either with GHC 8.6 or setting |
Just ran into this. I don't really have anything to add, except ftr this is the error output I got:
|
I have a |
Do we really want the possibility for 'error' to occur there? Is there not a way to just avoid the failable pattern? |
Its not just failable patterns. printableChar for example calls |
Ah ok, you are probably referring to BufferM / EditorM. I don't know about that one. |
I opened a pull request #1108 based on a different branch, where I attempt to do things properly. |
-XMonadFailDesugaring
is enabled by default with GHC 8.6+. There are some failable patterns involving BufferM that cause Yi to fail to compile, because BufferM doesn't have a MonadFail instance.The text was updated successfully, but these errors were encountered: