Fix #13458
authorRichard Eisenberg <rae@cs.brynmawr.edu>
Thu, 23 Mar 2017 02:32:04 +0000 (22:32 -0400)
committerRichard Eisenberg <rae@cs.brynmawr.edu>
Mon, 27 Mar 2017 19:04:15 +0000 (15:04 -0400)
commitcea7141851ce653cb20207da3591d09e73fa396d
tree379e1f984df117738aa0c6cd99bbd9e966fbf4bd
parent5025fe2435d030f0c5ecdc2a933c7bfcb3efcb7c
Fix #13458

Core Lint shouldn't check representations of types that don't
have representations.

test case: typecheck/should_compile/T13458
compiler/coreSyn/CoreLint.hs
compiler/simplStg/RepType.hs
testsuite/tests/typecheck/should_compile/T13458.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T