guppylang
guppylang copied to clipboard
Diagnostic span labels break too early if they span multiple lines
This is because textwrap.wrap takes the prefix indentation into account when deciding where to put linebreaks...
See e.g. https://github.com/CQCL/guppylang/pull/601/files#r1820535178
Also related to #556
Fixed by #933