X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fspecialise%2FSpecialise.lhs;h=7a0d8bcdb14c913513f030fb0a0e946f76afcfb5;hp=86fd2fa628a1c0909e85436e6e94bc132e2f8b34;hb=940524aec90652b5ef81789c9a453c57c0e42cc9;hpb=485b80f9c422e49a441ec0b175c39799630171da diff --git a/compiler/specialise/Specialise.lhs b/compiler/specialise/Specialise.lhs index 86fd2fa..7a0d8bc 100644 --- a/compiler/specialise/Specialise.lhs +++ b/compiler/specialise/Specialise.lhs @@ -32,7 +32,7 @@ import UniqSupply ( UniqSupply, UniqSM, initUs_, thenUs, returnUs, getUniqueUs, getUs, mapUs ) -import Name ( nameOccName, mkSpecOcc, getSrcLoc ) +import Name import MkId ( voidArgId, realWorldPrimId ) import FiniteMap import Maybes ( catMaybes, maybeToBool ) @@ -1184,7 +1184,7 @@ newIdSM old_id new_ty let -- Give the new Id a similar occurrence name to the old one name = idName old_id - new_id = mkUserLocal (mkSpecOcc (nameOccName name)) uniq new_ty (getSrcLoc name) + new_id = mkUserLocal (mkSpecOcc (nameOccName name)) uniq new_ty (getSrcSpan name) in returnSM new_id \end{code}