X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcForeign.lhs;h=a7101118b04567be8f7c7c4ee9fe0c99202eb3ca;hp=1493b3aaf64ebd0541709559553b9f6632dcf4f5;hb=940524aec90652b5ef81789c9a453c57c0e42cc9;hpb=485b80f9c422e49a441ec0b175c39799630171da diff --git a/compiler/typecheck/TcForeign.lhs b/compiler/typecheck/TcForeign.lhs index 1493b3a..a710111 100644 --- a/compiler/typecheck/TcForeign.lhs +++ b/compiler/typecheck/TcForeign.lhs @@ -214,8 +214,7 @@ tcFExport fo@(ForeignExport (L loc nm) hs_ty spec) = newUnique `thenM` \ uniq -> getModule `thenM` \ mod -> let - gnm = mkExternalName uniq mod (mkForeignExportOcc (getOccName nm)) - (srcSpanStart loc) + gnm = mkExternalName uniq mod (mkForeignExportOcc (getOccName nm)) loc id = mkExportedLocalId gnm sig_ty bind = L loc (VarBind id rhs) in