wip, bugfix

This commit is contained in:
voidlizard 2025-01-19 23:56:56 +03:00
parent dbd4b81ca7
commit 22a4ef450c
1 changed files with 1 additions and 1 deletions

View File

@ -128,8 +128,8 @@ quit = liftIO Q.exitSuccess
pattern GitHashLike:: forall {c} . GitHash -> Syntax c
pattern GitHashLike x <- (
\case
StringLike s -> fromStringMay @GitHash s
LitIntVal 0 -> Just $ GitHash (BS.replicate 20 0)
StringLike s -> fromStringMay @GitHash s
_ -> Nothing
-> Just x )