[GHC] #10284: Create a dedicated `TypeError` exception type
GHC
ghc-devs at haskell.org
Tue Jul 7 17:17:24 UTC 2015
#10284: Create a dedicated `TypeError` exception type
-------------------------------------+-------------------------------------
Reporter: kosmikus | Owner: kanetw
Type: feature request | Status: patch
Priority: normal | Milestone:
Component: Core Libraries | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions: phab:D866
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"9a3e1657db4c0292fc06d6183a802af631c3666a/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="9a3e1657db4c0292fc06d6183a802af631c3666a"
Deferred type errors now throw TypeError (#10284)
Depends on D864.
Previous behaviour was ErrorCall, which might mask issues in tests
using -fdefer-type-errors
Signed-off-by: David Kraeutmann <kane at kane.cx>
Test Plan: Test whether the error thrown is indeed TypeError and not
ErrorCall.
Reviewers: hvr, nomeata, austin
Reviewed By: nomeata, austin
Subscribers: nomeata, simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D866
GHC Trac Issues: #10284
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10284#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list