Skip to content

T9563 doesn't pass with reversed uniques

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

  1. make TESTS=T9563
Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information