summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-05-11 10:49:26 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-05-11 10:49:26 +0000
commit940524aec90652b5ef81789c9a453c57c0e42cc9 (patch)
treea3066fe9cf889b79ef5a8659df25f2de679afbf4 /compiler/codeGen
parent485b80f9c422e49a441ec0b175c39799630171da (diff)
downloadhaskell-940524aec90652b5ef81789c9a453c57c0e42cc9.tar.gz
Store a SrcSpan instead of a SrcLoc inside a Name
This has been a long-standing ToDo.
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/CodeGen.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/CodeGen.lhs b/compiler/codeGen/CodeGen.lhs
index 4302e84f56..13e9c4a59c 100644
--- a/compiler/codeGen/CodeGen.lhs
+++ b/compiler/codeGen/CodeGen.lhs
@@ -350,7 +350,7 @@ maybeExternaliseId dflags id
name = idName id
uniq = nameUnique name
new_occ = mkLocalOcc uniq (nameOccName name)
- loc = nameSrcLoc name
+ loc = nameSrcSpan name
-- We want to conjure up a name that can't clash with any
-- existing name. So we generate
-- Mod_$L243foo