Tiny refactor to tcExtendRecEnv

Authored by simonpj on Dec 20 2018, 6:41 AM.

Description

Tiny refactor to tcExtendRecEnv

In tcExtendRecEnv, there is no need to us setGlobalTypeEnv
(which side-effects the tcg_type_env_var). tcExtendRecEnv
is used only when kind-checking a group of type/class decls
and no knot-tying via tcg_type_env_var is needed.

There is no change in functionality.

Details

Committed
simonpjDec 21 2018, 7:00 AM
Parents
rGHC28188e06b495: Comments only
Branches
Unknown
Tags
Unknown