Opened 3 years ago

Closed 3 years ago

#5297 closed bug (fixed)

annrun01 needs to be updated

Reported by: daniel.is.fischer Owned by: simonmar
Priority: high Milestone: 7.2.1
Component: Test Suite Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

A change of type makes annrun01 fail with

annrun01.hs:19:29:
    Couldn't match expected type `DynFlags.LogAction'
                with actual type `DynFlags'
    In the return type of a call of `defaultDynFlags'
    Probable cause: `defaultDynFlags' is applied to too many arguments
    In the first argument of `defaultErrorHandler', namely
      `(defaultDynFlags (panic "No settings"))'
    In the expression:
      defaultErrorHandler (defaultDynFlags (panic "No settings"))

defaultErrorHandler now expects a LogAction, probably defaultLogAction is the right one.

Attachments (1)

0001-Pass-defaultLogAction-to-defaultErrorHandler-in-annr.patch (1.2 KB) - added by daniel.is.fischer 3 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by daniel.is.fischer

  • Status changed from new to patch

comment:2 Changed 3 years ago by simonmar

  • Milestone set to 7.2.1
  • Owner set to simonmar
  • Priority changed from normal to high

comment:3 Changed 3 years ago by simonmar

  • Status changed from patch to merge

comment:4 Changed 3 years ago by igloo

  • Resolution set to fixed
  • Status changed from merge to closed

Merged

Note: See TracTickets for help on using tickets.