mirror of https://github.com/voidlizard/hbs2
wip, bugfix
This commit is contained in:
parent
dbd4b81ca7
commit
22a4ef450c
|
@ -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 )
|
||||
|
||||
|
|
Loading…
Reference in New Issue