[GHC] #8826: Allow more coercions in Safe Haskell
GHC
ghc-devs at haskell.org
Fri Mar 14 03:35:42 UTC 2014
#8826: Allow more coercions in Safe Haskell
-------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.9
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Richard Eisenberg <eir@…>):
In [changeset:"59722295bb8da8f01d37356fbed6aef7321a8195/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="59722295bb8da8f01d37356fbed6aef7321a8195"
Remove "Safe mode" check for Coercible instances
We assume that library authors supply correct role annotations
for their types, and therefore we do not need to check for
the availability of data constructors in Safe mode. See
discussion in #8725. This effectively fixes #8827 and #8826.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8826#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list