[commit: ghc] master: PrelNames: Fix duplicate unique (d1ab6fc)

git at git.haskell.org git at git.haskell.org
Tue Oct 27 21:33:01 UTC 2015


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

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

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

commit d1ab6fc9eddcee63ea594c1357d47d3dcebe2492
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Oct 27 22:10:58 2015 +0100

    PrelNames: Fix duplicate unique
    
    Previously unboundKey and fromIntegerClassOpKey were sharing a Unique
    Reassign unboundKey to `mkPreludeMiscIdUnique 158`


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

d1ab6fc9eddcee63ea594c1357d47d3dcebe2492
 compiler/prelude/PrelNames.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/prelude/PrelNames.hs b/compiler/prelude/PrelNames.hs
index 3808c4e..30d11fe 100644
--- a/compiler/prelude/PrelNames.hs
+++ b/compiler/prelude/PrelNames.hs
@@ -1849,7 +1849,7 @@ during type checking.
 
         -- Just a place holder for  unbound variables  produced by the renamer:
 unboundKey :: Unique
-unboundKey                    = mkPreludeMiscIdUnique 160
+unboundKey                    = mkPreludeMiscIdUnique 158
 
 fromIntegerClassOpKey, minusClassOpKey, fromRationalClassOpKey,
     enumFromClassOpKey, enumFromThenClassOpKey, enumFromToClassOpKey,



More information about the ghc-commits mailing list