Skip to content

Custom type errors need tidying

This is an excerpt from testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr:

CustomTypeErrors02.hs:17:1: error:
    The type 'a_aES -> a_aES' cannot be represented as an integer.
    When checking that ‘err’ has the inferred type
      err :: (TypeError ...)

We should tidy these types before printing.

Trac metadata
Trac field Value
Version 7.11
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