Commit 30098da6 authored by Simon Marlow's avatar Simon Marlow
Browse files

Use ":Co", not "Co" to prefix coercion TyCon names

Avoid possibility of name clash
parent 5a572299
......@@ -442,8 +442,8 @@ mkDictOcc = mk_simple_deriv varName "$d"
mkIPOcc = mk_simple_deriv varName "$i"
mkSpecOcc = mk_simple_deriv varName "$s"
mkForeignExportOcc = mk_simple_deriv varName "$f"
mkNewTyCoOcc = mk_simple_deriv tcName "Co"
mkInstTyCoOcc = mk_simple_deriv tcName "Co" -- derived from rep ty
mkNewTyCoOcc = mk_simple_deriv tcName ":Co"
mkInstTyCoOcc = mk_simple_deriv tcName ":Co" -- derived from rep ty
-- Generic derivable classes
mkGenOcc1 = mk_simple_deriv varName "$gfrom"
......
Supports Markdown
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