Fix #10596 by looking up 'Int' not 'Maybe Int' in the map.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 7 Jul 2015 19:19:54 +0000 (21:19 +0200)
committerBen Gamari <ben@smart-cactus.org>
Tue, 7 Jul 2015 19:19:55 +0000 (21:19 +0200)
commit00c8d4d551472940303437be1496bf23b882273b
treec03e217ca205a52b337686eaec5ba46979b2ee1f
parentd03bcfaa255279c7f0c0d931b3202d45faa9b8e0
Fix #10596 by looking up 'Int' not 'Maybe Int' in the map.

Test Plan: validate

Reviewers: goldfire, austin, simonpj, bgamari

Reviewed By: bgamari

Subscribers: simonpj, rwbarton, thomie, bgamari

Differential Revision: https://phabricator.haskell.org/D1026

GHC Trac Issues: #10596
compiler/typecheck/TcSplice.hs
testsuite/tests/th/T10596.hs [new file with mode: 0644]
testsuite/tests/th/T10596.stderr [new file with mode: 0644]
testsuite/tests/th/all.T