[commit: ghc] master: Remove unnecessary GHC option from SrcLoc (121fee9)

git at git.haskell.org git at git.haskell.org
Sat Jul 29 14:34:35 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/121fee99496d5f5d53a8cd6b08c13a0b6bb9069d/ghc

>---------------------------------------------------------------

commit 121fee99496d5f5d53a8cd6b08c13a0b6bb9069d
Author: Sven Tennie <sven.tennie at gmail.com>
Date:   Fri Jul 28 18:24:34 2017 -0400

    Remove unnecessary GHC option from SrcLoc
    
    This was an old workaround for #5252. Fixes #13173.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3763


>---------------------------------------------------------------

121fee99496d5f5d53a8cd6b08c13a0b6bb9069d
 compiler/basicTypes/SrcLoc.hs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/compiler/basicTypes/SrcLoc.hs b/compiler/basicTypes/SrcLoc.hs
index f71dac6..1e6e7d2 100644
--- a/compiler/basicTypes/SrcLoc.hs
+++ b/compiler/basicTypes/SrcLoc.hs
@@ -7,10 +7,6 @@
 {-# LANGUAGE DeriveTraversable  #-}
 {-# LANGUAGE FlexibleInstances  #-}
 {-# LANGUAGE RecordWildCards    #-}
-{-# 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



More information about the ghc-commits mailing list