[GHC] #15520: Invalid warning Defined but not used

GHC ghc-devs at haskell.org
Tue Aug 14 19:09:48 UTC 2018


#15520: Invalid warning Defined but not used
-------------------------------------+-------------------------------------
           Reporter:  rik            |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This code gives warning:
  Defined but not used: data constructor ‘:+++’

 {{{#!hs
 data U = Text :+++ Text

 x :: U
 x = "ss" :+++ "ss"
 }}}

 Also In prefix notation .

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


More information about the ghc-tickets mailing list