[GHC] #13870: Empty record construction for record-less constructor gives surprising runtime error (and surprisingly few warnings)

GHC ghc-devs at haskell.org
Fri Sep 15 19:39:41 UTC 2017


#13870: Empty record construction for record-less constructor gives surprising
runtime error (and surprisingly few warnings)
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  sighingnow
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Poor/confusing    |            Test Case:
  error message                      |  deSugar/should_compile/T13870
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3940
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:   => 8.4.1


Comment:

 Given that this isn't a regression in 8.2 I think we'll wait until 8.4 to
 release this.

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


More information about the ghc-tickets mailing list