Skip to content

Commit

Permalink
Fix order in the Pretty instance for KeySetName
Browse files Browse the repository at this point in the history
  • Loading branch information
0xd34df00d committed Dec 1, 2023
1 parent 0e4fbb9 commit bd8169c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pact-core/Pact/Core/Guards.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data KeySetName = KeySetName

instance Pretty KeySetName where
pretty (KeySetName ks Nothing) = "'" <> pretty ks
pretty (KeySetName ks (Just ns)) = "'" <> pretty ks <> "." <> pretty ns
pretty (KeySetName ks (Just ns)) = "'" <> pretty ns <> "." <> pretty ks

renderKeySetName :: KeySetName -> Text
renderKeySetName (KeySetName n Nothing) = n
Expand Down

0 comments on commit bd8169c

Please sign in to comment.