Use TyVars in PatSyns
I found that some TcTyVars were lurking in a PatSyn, because tc_patsyn_finish was using the TcType -> TcType zonker rather than the TcType -> Type zonker. Eeek. I fixing this I also tided up function naming a bit (still not terrific), and removed the unused TcTyBinder type entirely.
Showing
- compiler/typecheck/TcHsSyn.hs 10 additions, 7 deletionscompiler/typecheck/TcHsSyn.hs
- compiler/typecheck/TcHsType.hs 2 additions, 2 deletionscompiler/typecheck/TcHsType.hs
- compiler/typecheck/TcMType.hs 3 additions, 12 deletionscompiler/typecheck/TcMType.hs
- compiler/typecheck/TcPatSyn.hs 11 additions, 16 deletionscompiler/typecheck/TcPatSyn.hs
- compiler/typecheck/TcTyClsDecls.hs 1 addition, 1 deletioncompiler/typecheck/TcTyClsDecls.hs
- compiler/typecheck/TcType.hs 1 addition, 2 deletionscompiler/typecheck/TcType.hs
Loading
Please register or sign in to comment