Slightly confusing error message for duplicate NOINLINE pragmas
I had some code with two NOINLINE pragmas for the same declaration:
{-# NOINLINE foo #-}
{-# NOINLINE foo #-}
and I got the error message:
UntypedEval.hs:206:0:
Duplicate NOINLINENEVER pragma:
UntypedEval.hs:206:0-19: {-# NOINLINENEVER foo #-}
UntypedEval.hs:202:0-19: {-# NOINLINENEVER foo #-}
Since I wrote NOINLINE, I think the error message should say NOINLINE. It's not a very big deal.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (Parser) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |