Commit 28a00eaf authored by Gabor Greif's avatar Gabor Greif 💬

Correct spelling in note references

parent 3f27237b
...@@ -2954,7 +2954,7 @@ pprTcApp_help to_type p pp tc tys dflags style ...@@ -2954,7 +2954,7 @@ pprTcApp_help to_type p pp tc tys dflags style
pp_tc = ppr tc pp_tc = ppr tc
tys_wo_kinds = suppressInvisibles to_type dflags tc tys tys_wo_kinds = suppressInvisibles to_type dflags tc tys
-- See Note [Printing eqauality constraints] -- See Note [Printing equality constraints]
mb_saturated_equality mb_saturated_equality
| hetero_eq_tc | hetero_eq_tc
, [k1, k2, t1, t2] <- tys , [k1, k2, t1, t2] <- tys
...@@ -2965,13 +2965,13 @@ pprTcApp_help to_type p pp tc tys dflags style ...@@ -2965,13 +2965,13 @@ pprTcApp_help to_type p pp tc tys dflags style
| otherwise | otherwise
= Nothing = Nothing
-- See Note [Printing eqauality constraints] -- See Note [Printing equality constraints]
homo_eq_tc = tc `hasKey` eqTyConKey -- ~ homo_eq_tc = tc `hasKey` eqTyConKey -- ~
hetero_eq_tc = tc `hasKey` eqPrimTyConKey -- ~# hetero_eq_tc = tc `hasKey` eqPrimTyConKey -- ~#
|| tc `hasKey` eqReprPrimTyConKey -- ~R# || tc `hasKey` eqReprPrimTyConKey -- ~R#
|| tc `hasKey` heqTyConKey -- ~~ || tc `hasKey` heqTyConKey -- ~~
-- See Note [Printing eqauality constraints] -- See Note [Printing equality constraints]
print_equality (ki1, ki2, ty1, ty2) print_equality (ki1, ki2, ty1, ty2)
| print_eqs | print_eqs
= ppr_infix_eq pp_tc = ppr_infix_eq pp_tc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment