-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
enhancementNew feature or requestNew feature or request
Description
ghc 9.6.6 -XPatternSynonyms accepts
newtype WindowsString = WindowsString{ getWindowsString :: String }
pattern WS :: String -> WindowsString
pattern WS { unWS } <- WindowsString unWS where
WS a = WindowsString a
{-# COMPLETE WS #-}
main = return ()mhs 0.14.17.0 rejects
mhs: uncaught exception: error: "bidirectional-pattern-synonym.hs": line 4, col 12:
found: {
expected: LIdent ( = <- , :: ∷
based on real code in os-string package
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request