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

GHC ghc-devs at haskell.org
Mon Sep 11 02:22:57 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:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             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 sighingnow):

 * testcase:   => deSugar/should_compile/T13870


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


More information about the ghc-tickets mailing list