Add solveLocalEqualities to tcHsPatSigType
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 20 Dec 2018 12:42:46 +0000 (12:42 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 20 Dec 2018 14:07:16 +0000 (14:07 +0000)
commita1c3ad0450baedadc223969dd2b09f59872a38e7
treee71adc811629178451f275c418059b966766f7d7
parent557178619aa20d7c7789fe2c6225396429c77f70
Add solveLocalEqualities to tcHsPatSigType

This call plain missing, and as a result the casts
messed up deep-skolemisation in tcSubType

Fixes Trac #16033
compiler/typecheck/TcHsType.hs
testsuite/tests/typecheck/should_compile/T16033.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T