Fix missing fields warnings in empty record construction, fix #13870
authorHE, Tao <sighingnow@gmail.com>
Fri, 15 Sep 2017 18:34:42 +0000 (14:34 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 15 Sep 2017 18:34:53 +0000 (14:34 -0400)
commit9e227bb19b8ceb129ce28e72aa070b3ba85accf7
tree16493f7d360dbbee0f7fae502f84e534677ec3c5
parent43401652fd36b650521ab66be9b20dde3a10ca4c
Fix missing fields warnings in empty record construction, fix #13870

Test Plan: make test TEST=T13870

Reviewers: RyanGlScott, austin, bgamari, mpickering

Reviewed By: mpickering

Subscribers: mpickering, rwbarton, thomie, RyanGlScott

Tags: #ghc

GHC Trac Issues: #13870

Differential Revision: https://phabricator.haskell.org/D3940
compiler/typecheck/TcExpr.hs
testsuite/tests/deSugar/should_compile/T13870.hs [new file with mode: 0644]
testsuite/tests/deSugar/should_compile/T13870.stderr [new file with mode: 0644]
testsuite/tests/deSugar/should_compile/all.T