[GHC] #11148: T9563 doesn't pass with reversed uniques

GHC ghc-devs at haskell.org
Mon Nov 30 11:18:21 UTC 2015


#11148: T9563 doesn't pass with reversed uniques
-------------------------------------+-------------------------------------
           Reporter:  niteria        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 It fails with

 {{{
 T9563.hs:18:1: error:
     • Can't make a derived instance of ‘Generic1 (G Int b Float)’:
         No family instance for ‘G Int b Float’
     • In the stand-alone deriving instance for
         ‘Generic1 (G Int b Float)’
 }}}

 Steps to reproduce:

 1. Change line
 `TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output
 -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)`

 to

 `TEST_HC_OPTS = -dinitial-unique=16777206 -dunique-increment=-1 -fforce-
 recomp -dcore-lint -dcmm-lint -dno-debug-output -no-
 user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)`

 in `mk/test.mk`




 2. `make TESTS=T9563`

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11148>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list