Skip to content

Commit

Permalink
Better phrasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Jan 8, 2024
1 parent f186ac6 commit f9f33b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Language/Futhark/TypeChecker/Unify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,10 @@ linkVarToDim usage bcs vn lvl e = do
ParamSize {} -> do
notes <- dimNotes usage e
unifyError usage notes bcs $
"Cannot unify size variable"
<+> dquotes (pretty e)
<+> "with"
"Cannot link size"
<+> dquotes (prettyName vn)
<+> "to"
<+> dquotes (pretty e)
<+> "(scope violation)."
</> "This is because"
<+> dquotes (pretty $ qualName dim')
Expand Down

0 comments on commit f9f33b4

Please sign in to comment.