From 5d5b74b914bc893a395c2fa60b399fc4975b0720 Mon Sep 17 00:00:00 2001 From: Max Bolingbroke Date: Thu, 31 Jul 2008 01:23:49 +0000 Subject: [PATCH] Follow OccName and MkCore changes in Inst --- compiler/typecheck/Inst.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/typecheck/Inst.lhs b/compiler/typecheck/Inst.lhs index 31a9354..f863028 100644 --- a/compiler/typecheck/Inst.lhs +++ b/compiler/typecheck/Inst.lhs @@ -61,7 +61,7 @@ import InstEnv import FunDeps import TcMType import TcType -import DsUtils +import MkCore import Type import TypeRep import Class @@ -385,7 +385,7 @@ mkPredName uniq loc pred_ty -- we use the outermost tycon of the lhs, if there is one, to -- improve readability of Core code baseOcc = case splitTyConApp_maybe ty of - Nothing -> mkOccName tcName "$" + Nothing -> mkTcOcc "$" Just (tc, _) -> getOccName tc \end{code} -- 1.7.10.4