You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would ideally like a test that demonstrates no incomplete pattern warning (-Wincomplete-patterns) when COMPLETE is used. Perhaps the warning can be turned into an error that would cause compiling to fail. Also, the test should ideally pass for all versions of GHC that support COMPLETE.
Hello, I'm getting this warning for a pattern usage like:
My understanding using pattern synonyms, is that the implementer needs to tell the compiler which pattern set should be considered as complete:
{-# COMPLETE Nil, Cons #-}
Would you accept a PR for that?
The text was updated successfully, but these errors were encountered: