[commit: ghc] wip/T9858-typeable-ben3: PrelNames: Fix duplicate unique (8d9e40b)

git at git.haskell.org git at git.haskell.org
Wed Oct 28 10:14:24 UTC 2015


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

On branch  : wip/T9858-typeable-ben3
Link       : http://ghc.haskell.org/trac/ghc/changeset/8d9e40b0e6b961c43c7546813c258e32e15002b7/ghc

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

commit 8d9e40b0e6b961c43c7546813c258e32e15002b7
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`


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

8d9e40b0e6b961c43c7546813c258e32e15002b7
 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 077bc36..05a38ff 100644
--- a/compiler/prelude/PrelNames.hs
+++ b/compiler/prelude/PrelNames.hs
@@ -1891,7 +1891,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