Fix #11246.
authorRichard Eisenberg <eir@cis.upenn.edu>
Wed, 10 Feb 2016 14:09:26 +0000 (09:09 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Wed, 17 Feb 2016 18:17:31 +0000 (13:17 -0500)
commit489e6ab5990f0f37624f14d6bf3f0025476513a1
treee2d4d4f55240026b393ba5a2999ca5a66b088614
parent43468fe386571564a4bdfc35cbaeab4199259318
Fix #11246.

We have to instantiate any invisible arguments to type families
right away. This is now done in tcTyCon in TcHsType.

testcase: typecheck/should_compile/T11246
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/types/TyCon.hs
testsuite/tests/typecheck/should_compile/T11246.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T