sway
sway copied to clipboard
Track down any missing spans in IR-gen
Similarly to what was done in https://github.com/FuelLabs/sway/pull/1250.. there may be other instances where errors are missing spans.
Under ir_generation, we seem to be using Span::dummy() for empty spans.
...but if there is a better span available which we aren't using we should switch.