What is GHC.Stack.Types.HasCallStack

That would seem to be a reasonable summary of this issue:

It’s also appeared here: