summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-10-19 12:22:11 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2016-10-19 12:23:54 +0100
commit1f09c16c38a2112322d8eab95cd1269daaf5a818 (patch)
tree6cf15260b84b2a24e515233231337ebafbce89c5 /compiler/codeGen
parent02f2f21ce4a9969406cf1772dc5955a97386777a (diff)
downloadhaskell-1f09c16c38a2112322d8eab95cd1269daaf5a818.tar.gz
Test for newtype with unboxed argument
Newtypes cannot (currently) have an unboxed argument type. But Trac #12729 showed that this was only being checked for newtypes in H98 syntax; in GADT snytax they were let through. This patch moves the test to checkValidDataCon, where it properly belongs.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions