[GHC] #14761: Incorrect diagnostic for UNPACK/missing strictness

GHC ghc-devs at haskell.org
Sun Feb 18 16:59:53 UTC 2018


#14761: Incorrect diagnostic for UNPACK/missing strictness
-------------------------------------+-------------------------------------
        Reporter:  dminuoso          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  newcomer
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):  Phab:D4397
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"fc33f8b31b9c23cc12f02a028bbaeab06ba8fe96/ghc" fc33f8b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fc33f8b31b9c23cc12f02a028bbaeab06ba8fe96"
 Improve error message for UNPACK/strictness annotations.

 Print different error message for improper UNPACK and strictness
 annotations.  Fix Trac #14761.

 Signed-off-by: HE, Tao <sighingnow at gmail.com>

 Test Plan: make test TEST="T7210 T14761a T14761b"

 Reviewers: goldfire, bgamari, RyanGlScott, simonpj

 Reviewed By: RyanGlScott, simonpj

 Subscribers: simonpj, goldfire, rwbarton, thomie, carter

 GHC Trac Issues: #14761

 Differential Revision: https://phabricator.haskell.org/D4397
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14761#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list