diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2016-10-19 12:22:11 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2016-10-19 12:23:54 +0100 |
commit | 1f09c16c38a2112322d8eab95cd1269daaf5a818 (patch) | |
tree | 6cf15260b84b2a24e515233231337ebafbce89c5 /compiler/codeGen | |
parent | 02f2f21ce4a9969406cf1772dc5955a97386777a (diff) | |
download | haskell-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