[GHC] #16043: Lots of testsuite output breaks with integer-simple

GHC ghc-devs at haskell.org
Thu Dec 13 04:27:06 UTC 2018


#16043: Lots of testsuite output breaks with integer-simple
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"9d9f4c9a7c04e152b40ae2db7c051cd9e0f5df61/ghc" 9d9f4c9/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9d9f4c9a7c04e152b40ae2db7c051cd9e0f5df61"
 testsuite: Normalise away spurious differences in out-of-scope instances

 This fixes a variety of testsuite failures with integer-simple of the form

 ```
 --- typecheck/should_fail/tcfail072.run/tcfail072.stderr.normalised
 +++ typecheck/should_fail/tcfail072.run/tcfail072.comp.stderr.normalised
 @@ -12,7 +12,7 @@
            -- Defined in ‘integer-<IMPL>-<VERSION>:GHC.Integer.Type’
          instance Ord () -- Defined in ‘GHC.Classes’
          ...plus 21 others
 -        ...plus three instances involving out-of-scope types
 +        ...plus two instances involving out-of-scope types
          (use -fprint-potential-instances to see them all)
       In the expression: g A
        In an equation for ‘g’: g (B _ _) = g A
 ```

 In service of fixing #16043.
 }}}

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


More information about the ghc-tickets mailing list