-
Simon Peyton Jones authored
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. (cherry picked from commit 1f09c16c)
4c8aab8f