[GHC] #15367: Misleading error message when unboxed tuples used in sums without -XUnboxedTuples

GHC ghc-devs at haskell.org
Thu Jul 12 12:07:21 UTC 2018


#15367: Misleading error message when unboxed tuples used in sums without
-XUnboxedTuples
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Indeed.  Perhaps you can enhance the message to say "Perhaps you intended
 to use UnboxedTuples` (or whatever our standard wording is for such
 suggestions)?

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


More information about the ghc-tickets mailing list