source_span
source_span copied to clipboard
Support textless spans
trafficstars
Currently SourceSpans are required to have text associated with them. However, this isn't always possible; for example, spans extracted from source maps won't necessarily have the text of the source or target available, nor should they need to. We should make text optional and make union() resilient to this.
Would a PR for this be accepted?
Sure!
Awesome. I'll try to send one ASAP. Thanks for the fast response!