[commit: ghc] wip/T14626: WIP: to confirm my suspicion, remove the bangs (1d24430)

git at git.haskell.org git at git.haskell.org
Thu Jan 11 22:18:40 UTC 2018


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

On branch  : wip/T14626
Link       : http://ghc.haskell.org/trac/ghc/changeset/1d24430515f5357295ceb10ef4b85e357aaf7487/ghc

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

commit 1d24430515f5357295ceb10ef4b85e357aaf7487
Author: Gabor Greif <ggreif at gmail.com>
Date:   Thu Jan 11 23:18:24 2018 +0100

    WIP: to confirm my suspicion, remove the bangs
    
    I'll back this out later


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

1d24430515f5357295ceb10ef4b85e357aaf7487
 compiler/basicTypes/Name.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/basicTypes/Name.hs b/compiler/basicTypes/Name.hs
index 637fc69..75f835b 100644
--- a/compiler/basicTypes/Name.hs
+++ b/compiler/basicTypes/Name.hs
@@ -108,9 +108,9 @@ import Data.Data
 -- that thing originated.
 data Name = Name {
                 n_sort :: NameSort,     -- What sort of name it is
-                n_occ  :: !OccName,     -- Its occurrence name
+                n_occ  :: OccName,     -- Its occurrence name
                 n_uniq :: {-# UNPACK #-} !Unique,
-                n_loc  :: !SrcSpan      -- Definition site
+                n_loc  :: SrcSpan      -- Definition site
             }
 
 -- NOTE: we make the n_loc field strict to eliminate some potential



More information about the ghc-commits mailing list