Add -fno-omit-interface-pragmas to SrcLoc, to work around Trac #5252
[ghc-hetmet.git] / compiler / basicTypes / SrcLoc.lhs
index 22ab915..f15d0da 100644 (file)
@@ -3,6 +3,12 @@
 %
 
 \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 (