Skip to content

Commit

Permalink
Fix printing of type here.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Feb 4, 2025
1 parent 488e66a commit f43fbef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Language/Futhark/TypeChecker/Unify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,9 @@ unifyWith onDims usage = subunify False
| uncurry (<) $ swap ord (uniqueness b2) (uniqueness b1) -> do
unifyError usage mempty bcs . withIndexLink "unify-return-uniqueness" $
"Return types"
</> indent 2 (pretty d1 <> pretty b1)
</> indent 2 (pretty b1)
</> "and"
</> indent 2 (pretty d2 <> pretty b2)
</> indent 2 (pretty b2)
</> "have incompatible uniqueness."
| otherwise -> do
-- Introduce the existentials as size variables so they
Expand Down

0 comments on commit f43fbef

Please sign in to comment.