defer-type-errors + unsafeCoerce
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.5 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |