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
Describe the bug
A "never active" phase control annotation ([~], see here why this exists) for rewrite rules is removed by Ormolu, leading to differing AST:
{-# RULES "map-loop" [ ~ ] forall f . map' f = map' (id . f) #-}
to
{-# RULES "map-loop" forall f. map' f = map' (id . f) #-}
Describe the bug
A "never active" phase control annotation (
[~]
, see here why this exists) for rewrite rules is removed by Ormolu, leading to differing AST:{-# RULES "map-loop" [ ~ ] forall f . map' f = map' (id . f) #-}
to
{-# RULES "map-loop" forall f. map' f = map' (id . f) #-}
Additional context
Found via #821
The text was updated successfully, but these errors were encountered: