Use TypingMode throughout the compiler instead of ParamEnv
#132460
Merged
TypingMode throughout the compiler instead of ParamEnv
#132460