Fix VoidRep handling in ghci debugger
'go' inside extractSubTerms was giving a bad result given a VoidRep, attempting to round towards the next multiple of 0. I don't understand much about the debugger but the code should be better than it was. Fixes #24306
Showing
- compiler/GHC/Runtime/Heap/Inspect.hs 4 additions, 4 deletionscompiler/GHC/Runtime/Heap/Inspect.hs
- testsuite/tests/ghci.debugger/scripts/T24306.hs 9 additions, 0 deletionstestsuite/tests/ghci.debugger/scripts/T24306.hs
- testsuite/tests/ghci.debugger/scripts/T24306.script 2 additions, 0 deletionstestsuite/tests/ghci.debugger/scripts/T24306.script
- testsuite/tests/ghci.debugger/scripts/T24306.stdout 1 addition, 0 deletionstestsuite/tests/ghci.debugger/scripts/T24306.stdout
- testsuite/tests/ghci.debugger/scripts/all.T 1 addition, 0 deletionstestsuite/tests/ghci.debugger/scripts/all.T
Please register or sign in to comment