dMatchUpSAKWithDecl
erroneously rejects invisible forall
without corresponding invisible type variable binder
#228
Labels
This is a perfectly valid data type:
Although there is no explicit
@a
binder in the declaration forD
, this is perfectly fine, as GHC is capable of inferring it.th-desugar
'sdMatchUpSAKWithDecl
function, on the other hand, rejects this. I originally encountered this issue in the context ofsingletons-th
, but here is a way to trigger the issue using only theth-desugar
API:I believe this should work.
The text was updated successfully, but these errors were encountered: