Skip to content

Commit

Permalink
Update brat/Brat/Checker/SolvePatterns.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Lawrence <[email protected]>
  • Loading branch information
croyzor and acl-cqc authored Dec 3, 2024
1 parent d505b49 commit b894739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brat/Brat/Checker/SolvePatterns.hs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ solveConstructor my src (c, abs) ty p = do
(CArgs pats _ patRo argRo, (tycon, tyargs)) <- lookupConstructor my c ty
-- Create a row of hypothetical kinds which contextualise the arguments to the
-- constructor.
-- These need to be Tgts because we don't know how to compute them dynamically/
-- These need to be Tgts because we don't know how to compute them dynamically
(_, _, _, stuff) <- next "type_args" Hypo (S0, Some (Zy :* S0)) patRo R0
(node, _, patArgWires, _) <- let ?my = my in anext "val_args" Hypo stuff R0 argRo
trackM ("Constructor " ++ show c ++ "; type " ++ show ty)
Expand Down

0 comments on commit b894739

Please sign in to comment.