Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 6, 2024
1 parent a7addf2 commit 4e286e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Juvix/Compiler/Reg/Language/Instrs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ instance Eq VarRef where
&& vr1 ^. varRefIndex == vr2 ^. varRefIndex

instance Ord VarRef where
compare = compare `on` (vr -> vr ^. varRefGroup, vr ^. varRefIndex)
compare = compare `on` \vr -> (vr ^. varRefGroup, vr ^. varRefIndex)

deriving stock instance (Eq ConstrField)

Expand Down

0 comments on commit 4e286e9

Please sign in to comment.