Ticket #1888 (closed merge: fixed)
Slightly confusing error message for duplicate NOINLINE pragmas
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
