import DsMonad
import DsUtils
-import Const ( mkMachInt, Literal(..) )
+import Literal ( mkMachInt, Literal(..) )
import PrimRep ( PrimRep(IntRep) )
import Maybes ( catMaybes )
import Type ( Type, isUnLiftedType )
mk_core_lit ty (HsFloatPrim f) = MachFloat f
mk_core_lit ty (HsDoublePrim d) = MachDouble d
mk_core_lit ty (HsLitLit s) = ASSERT(isUnLiftedType ty)
- MachLitLit s (panic
- "MatchLit.matchLiterals:mk_core_lit:HsLitLit; typePrimRep???")
+ MachLitLit s ty
mk_core_lit ty other = panic "matchLiterals:mk_core_lit:unhandled"
\end{code}