Fix #11313.
authorRichard Eisenberg <eir@cis.upenn.edu>
Wed, 10 Feb 2016 14:38:09 +0000 (09:38 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Wed, 17 Feb 2016 18:17:31 +0000 (13:17 -0500)
commita6152159c9f14fc9cf0e86caff532906abd49b73
tree511468a2dd7deee77aa063554f2624d028160980
parent489e6ab5990f0f37624f14d6bf3f0025476513a1
Fix #11313.

Previously, we looked through synonyms when counting arguments,
but that's a bit silly.
compiler/typecheck/TcMType.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/types/TyCon.hs
compiler/types/Type.hs
testsuite/tests/typecheck/should_fail/T11313.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T11313.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T