#6162: defer-type-errors + unsafeCoerce
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                   
     Type:  feature request   |         Status:  new              
 Priority:  normal            |      Component:  Compiler         
  Version:  7.5               |       Keywords:  defer-type-errors
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple 
  Failure:  None/Unknown      |       Testcase:                   
Blockedby:                    |       Blocking:                   
  Related:                    |  
------------------------------+---------------------------------------------
 When evidence of `a ~ b` is missing, -fdefer-type-errors uses `error` to
 coerce `a` to `b`. It would nice to allow to use `unsafeCoerce` instead;
 for example `' ' :: Int` would give under favourable conditions `32`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6162>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to