Skip to content

annrun01 needs to be updated

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.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
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