Unify CallStack handling in ghc
Here we introduce compatibility wrappers for HasCallStack constraints. This is necessary as we must support GHC 7.10.1 which lacks sane call stack support. We also introduce another constraint synonym, HasDebugCallStack, which only provides a call stack when DEBUG is set.
Showing
- compiler/simplStg/RepType.hs 4 additions, 3 deletionscompiler/simplStg/RepType.hs
- compiler/typecheck/TcDeriv.hs 2 additions, 15 deletionscompiler/typecheck/TcDeriv.hs
- compiler/types/TyCoRep.hs 9 additions, 56 deletionscompiler/types/TyCoRep.hs
- compiler/utils/Maybes.hs 2 additions, 6 deletionscompiler/utils/Maybes.hs
- compiler/utils/Outputable.hs 10 additions, 25 deletionscompiler/utils/Outputable.hs
- compiler/utils/Util.hs 45 additions, 1 deletioncompiler/utils/Util.hs
Loading
Please register or sign in to comment