projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -fno-omit-interface-pragmas to SrcLoc, to work around Trac #5252
[ghc-hetmet.git]
/
compiler
/
basicTypes
/
SrcLoc.lhs
diff --git
a/compiler/basicTypes/SrcLoc.lhs
b/compiler/basicTypes/SrcLoc.lhs
index
22ab915
..
f15d0da
100644
(file)
--- a/
compiler/basicTypes/SrcLoc.lhs
+++ b/
compiler/basicTypes/SrcLoc.lhs
@@
-3,6
+3,12
@@
%
\begin{code}
%
\begin{code}
+{-# OPTIONS_GHC -fno-omit-interface-pragmas #-}
+ -- Workaround for Trac #5252 crashes the bootstrap compiler without -O
+ -- When the earliest compiler we want to boostrap with is
+ -- GHC 7.2, we can make RealSrcLoc properly abstract
+
+
-- | This module contains types that relate to the positions of things
-- in source files, and allow tagging of those things with locations
module SrcLoc (
-- | This module contains types that relate to the positions of things
-- in source files, and allow tagging of those things with locations
module SrcLoc (