[GHC] #11028: Refactor ConDecl

GHC ghc-devs at haskell.org
Mon Dec 7 11:50:04 UTC 2015


#11028: Refactor ConDecl
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  alanz
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11155            |  Differential Rev(s):  Phab:D1558
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by alanz):

 After a brief chat on IRC we changed it in the current patch to

 {{{#!hs
 CmmCondBranch :: {..} -> CmmNode O C
 }}}

 followed by the field definition.

 The other option is to surround the field definition with braces and put
 the return type at the and, as per the original source.

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


More information about the ghc-tickets mailing list