[GHC] #14761: Incorrect diagnostic for UNPACK/missing strictness
GHC
ghc-devs at haskell.org
Mon Feb 5 18:12:39 UTC 2018
#14761: Incorrect diagnostic for UNPACK/missing strictness
-------------------------------------+-------------------------------------
Reporter: dminuoso | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
error/warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: #7210 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dminuoso):
Thank you for the explanation.
Is it correct to consider {-# UNPACK #-} itself a strictness annotation?
As an end user I would expect it to be referred to as a pragma.
Furthermore I still have to specify the strictness annotation ! for the
field. If this is working as intended, then I think it's a somewhat poor
message.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14761#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list