Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
4f6bc9cf
by fendor at 2025-08-04T17:50:06-04:00
6 changed files:
- libraries/base/changelog.md
- libraries/base/src/Control/Exception/Backtrace.hs
- testsuite/tests/interface-stability/base-exports.stdout
- testsuite/tests/interface-stability/base-exports.stdout-javascript-unknown-ghcjs
- testsuite/tests/interface-stability/base-exports.stdout-mingw32
- testsuite/tests/interface-stability/base-exports.stdout-ws-32
Changes:
... | ... | @@ -30,7 +30,6 @@ |
30 | 30 | * `GHC.TypeNats.Internal`
|
31 | 31 | * `GHC.ExecutionStack.Internal`.
|
32 | 32 | * Deprecate `GHC.JS.Prim.Internal.Build`, as per [CLC #329](https://github.com/haskell/core-libraries-committee/issues/329)
|
33 | - * Expose constructor and field of `Backtraces` from `Control.Exception.Backtrace`, as per [CLC #199](https://github.com/haskell/core-libraries-committee/issues/199#issuecomment-1954662391)
|
|
34 | 33 | |
35 | 34 | * Fix incorrect results of `integerPowMod` when the base is 0 and the exponent is negative, and `integerRecipMod` when the modulus is zero ([#26017](https://gitlab.haskell.org/ghc/ghc/-/issues/26017)).
|
36 | 35 | * Fix the rewrite rule for `scanl'` not being strict in the first element of the output list ([#26143](https://gitlab.haskell.org/ghc/ghc/-/issues/26143)).
|
... | ... | @@ -51,7 +51,7 @@ module Control.Exception.Backtrace |
51 | 51 | , getBacktraceMechanismState
|
52 | 52 | , setBacktraceMechanismState
|
53 | 53 | -- * Collecting backtraces
|
54 | - , Backtraces(..)
|
|
54 | + , Backtraces
|
|
55 | 55 | , displayBacktraces
|
56 | 56 | , collectBacktraces
|
57 | 57 | ) where
|
... | ... | @@ -323,7 +323,7 @@ module Control.Exception.Backtrace where |
323 | 323 | type BacktraceMechanism :: *
|
324 | 324 | data BacktraceMechanism = CostCentreBacktrace | HasCallStackBacktrace | ExecutionBacktrace | IPEBacktrace
|
325 | 325 | type Backtraces :: *
|
326 | - data Backtraces = Backtraces {btrCostCentre :: GHC.Internal.Maybe.Maybe (GHC.Internal.Ptr.Ptr GHC.Internal.Stack.CCS.CostCentreStack), btrHasCallStack :: GHC.Internal.Maybe.Maybe GHC.Internal.Stack.Types.CallStack, btrExecutionStack :: GHC.Internal.Maybe.Maybe [GHC.Internal.ExecutionStack.Internal.Location], btrIpe :: GHC.Internal.Maybe.Maybe [GHC.Internal.Stack.CloneStack.StackEntry]}
|
|
326 | + data Backtraces = ...
|
|
327 | 327 | collectBacktraces :: (?callStack::GHC.Internal.Stack.Types.CallStack) => GHC.Internal.Types.IO Backtraces
|
328 | 328 | displayBacktraces :: Backtraces -> GHC.Internal.Base.String
|
329 | 329 | getBacktraceMechanismState :: BacktraceMechanism -> GHC.Internal.Types.IO GHC.Internal.Types.Bool
|
... | ... | @@ -323,7 +323,7 @@ module Control.Exception.Backtrace where |
323 | 323 | type BacktraceMechanism :: *
|
324 | 324 | data BacktraceMechanism = CostCentreBacktrace | HasCallStackBacktrace | ExecutionBacktrace | IPEBacktrace
|
325 | 325 | type Backtraces :: *
|
326 | - data Backtraces = Backtraces {btrCostCentre :: GHC.Internal.Maybe.Maybe (GHC.Internal.Ptr.Ptr GHC.Internal.Stack.CCS.CostCentreStack), btrHasCallStack :: GHC.Internal.Maybe.Maybe GHC.Internal.Stack.Types.CallStack, btrExecutionStack :: GHC.Internal.Maybe.Maybe [GHC.Internal.ExecutionStack.Internal.Location], btrIpe :: GHC.Internal.Maybe.Maybe [GHC.Internal.Stack.CloneStack.StackEntry]}
|
|
326 | + data Backtraces = ...
|
|
327 | 327 | collectBacktraces :: (?callStack::GHC.Internal.Stack.Types.CallStack) => GHC.Internal.Types.IO Backtraces
|
328 | 328 | displayBacktraces :: Backtraces -> GHC.Internal.Base.String
|
329 | 329 | getBacktraceMechanismState :: BacktraceMechanism -> GHC.Internal.Types.IO GHC.Internal.Types.Bool
|
... | ... | @@ -323,7 +323,7 @@ module Control.Exception.Backtrace where |
323 | 323 | type BacktraceMechanism :: *
|
324 | 324 | data BacktraceMechanism = CostCentreBacktrace | HasCallStackBacktrace | ExecutionBacktrace | IPEBacktrace
|
325 | 325 | type Backtraces :: *
|
326 | - data Backtraces = Backtraces {btrCostCentre :: GHC.Internal.Maybe.Maybe (GHC.Internal.Ptr.Ptr GHC.Internal.Stack.CCS.CostCentreStack), btrHasCallStack :: GHC.Internal.Maybe.Maybe GHC.Internal.Stack.Types.CallStack, btrExecutionStack :: GHC.Internal.Maybe.Maybe [GHC.Internal.ExecutionStack.Internal.Location], btrIpe :: GHC.Internal.Maybe.Maybe [GHC.Internal.Stack.CloneStack.StackEntry]}
|
|
326 | + data Backtraces = ...
|
|
327 | 327 | collectBacktraces :: (?callStack::GHC.Internal.Stack.Types.CallStack) => GHC.Internal.Types.IO Backtraces
|
328 | 328 | displayBacktraces :: Backtraces -> GHC.Internal.Base.String
|
329 | 329 | getBacktraceMechanismState :: BacktraceMechanism -> GHC.Internal.Types.IO GHC.Internal.Types.Bool
|
... | ... | @@ -323,7 +323,7 @@ module Control.Exception.Backtrace where |
323 | 323 | type BacktraceMechanism :: *
|
324 | 324 | data BacktraceMechanism = CostCentreBacktrace | HasCallStackBacktrace | ExecutionBacktrace | IPEBacktrace
|
325 | 325 | type Backtraces :: *
|
326 | - data Backtraces = Backtraces {btrCostCentre :: GHC.Internal.Maybe.Maybe (GHC.Internal.Ptr.Ptr GHC.Internal.Stack.CCS.CostCentreStack), btrHasCallStack :: GHC.Internal.Maybe.Maybe GHC.Internal.Stack.Types.CallStack, btrExecutionStack :: GHC.Internal.Maybe.Maybe [GHC.Internal.ExecutionStack.Internal.Location], btrIpe :: GHC.Internal.Maybe.Maybe [GHC.Internal.Stack.CloneStack.StackEntry]}
|
|
326 | + data Backtraces = ...
|
|
327 | 327 | collectBacktraces :: (?callStack::GHC.Internal.Stack.Types.CallStack) => GHC.Internal.Types.IO Backtraces
|
328 | 328 | displayBacktraces :: Backtraces -> GHC.Internal.Base.String
|
329 | 329 | getBacktraceMechanismState :: BacktraceMechanism -> GHC.Internal.Types.IO GHC.Internal.Types.Bool
|