diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-09 13:57:38 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-09 13:57:38 +0000 |
commit | a98e55e767764cb810833492b898d1e75f93fd77 (patch) | |
tree | 62540d3ac56dc0b43c37ed19dba516243cc6952e /docs/storage-mgt | |
parent | 1316f7dadf0f538f09f8b97629c7e5f6f868266d (diff) | |
download | haskell-wip/source-note-fixes.tar.gz |
Use SrcSpan from the binder as initial source estimatewip/source-note-fixes
There are some situations where we end up with no source notes in useful
positions in an expression. In this case we currently fail to provide
any source information about where an expression came from.
This patch improves the initial estimate by using the position from the
top-binder as the guess for the location of the whole inner expression.
It provides quite a course estimate but it's better than nothing.
Ticket #20847
Diffstat (limited to 'docs/storage-mgt')
0 files changed, 0 insertions, 0 deletions