Change the warning in substTy back to an assertion
We'd like to enforce the substitution invariant (Trac #11371). In a492af06 the assertion was downgraded to a warning; I'm restoring the assertion and making the calls that don't maintain the invariant as unchecked.
Showing
- compiler/coreSyn/CoreArity.hs 1 addition, 1 deletioncompiler/coreSyn/CoreArity.hs
- compiler/typecheck/TcGenGenerics.hs 1 addition, 1 deletioncompiler/typecheck/TcGenGenerics.hs
- compiler/typecheck/TcSigs.hs 1 addition, 1 deletioncompiler/typecheck/TcSigs.hs
- compiler/types/TyCoRep.hs 2 additions, 3 deletionscompiler/types/TyCoRep.hs
Loading
Please register or sign in to comment