Skip to content

Commit

Permalink
Fix warnings about overloading.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Dec 22, 2024
1 parent 7b57df6 commit 845e340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Futhark/TypeChecker/Terms2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ generaliseAndDefaults ::
generaliseAndDefaults unconstrained solution t = do
let (generalised, unconstrained') =
generalise t unconstrained solution
solution' <- doDefaults (map typeParamName generalised) solution
solution' <- doDefaults (S.toList $ typeVars t) solution
pure
( generalised,
-- See #1552 for why we resolve unconstrained and
Expand Down

0 comments on commit 845e340

Please sign in to comment.