Properly trim IdInfos of DFunIds and PatSyns in TidyPgm

Authored by osa1 on May 3 2019, 3:45 AM.

Description

Properly trim IdInfos of DFunIds and PatSyns in TidyPgm

Not doing this right caused Trac #16608. We now properly trim IdInfos of
DFunIds and PatSyns.

Some further refactoring done by SPJ.

Two regression tests T16608_1 and T16608_2 added.

Fixes Trac #16608

(cherry picked from commit 9d58554f7b19c52896796e8c3b6de20c154a67b2)

Details

Committed
bgamariJun 24 2019, 5:35 PM
Parents
rGHCfc7bdba6b811: Synchronize ClsInst.doTyConApp with TcTypeable validity checks (#15862)
Branches
Unknown
Tags
Unknown