Skip to content

Commit

Permalink
Got bitten by building without -Werror again. growl.
Browse files Browse the repository at this point in the history
  • Loading branch information
sauclovian-g committed Jan 29, 2025
1 parent c1a049e commit 45a4ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SAWScript/MGU.hs
Original file line number Diff line number Diff line change
Expand Up @@ -904,11 +904,11 @@ inspectLambdaFTVs e0 = case e0 of

-- Get the free type variables found in a Decl.
inspectDeclFTVs :: Decl -> TI (Map Name Pos)
inspectDeclFTVs (Decl dpos pat _mty e0) = do
inspectDeclFTVs (Decl _dpos pat _mty e0) = do
nameFTVs <- inspectPatternFTVs pat
(e1, argFTVs) <- inspectLambdaFTVs e0
retFTVs <- case e1 of
TSig _tspos e1 ty -> inspectTypeFTVs ty
TSig _tspos _e2 ty -> inspectTypeFTVs ty
_ -> return M.empty
return $ M.unions [nameFTVs, argFTVs, retFTVs]

Expand Down

0 comments on commit 45a4ad9

Please sign in to comment.