Open muendlein opened 8 months ago
Note that the advantage of errors is that you get a stack trace.
IIUC, it should be able to show stacktraces even if we don't raise an error. We can customize show(::IO, ::AllocCheckAnalysisResult)
to include stacktrace into the rendered output.
In the current example allocations will trigger an error. However this may not always be desired, thus I propose a configuration option for a warning instead.