Skip to content

Don't cache solved [W] HasCallStack constraints

sheaf requested to merge sheaf/ghc:T25529 into master

Ticket: #25529 (closed).

This MR ensures we do not add solved Wanted constraints that mention HasCallStack or HasExceptionContext constraints to the set of solved Wanted dictionary constraints: caching them is invalid, because re-using such cached dictionaries means using an old call-stack instead of constructing a new one.

Merge request reports

Loading