sway icon indicating copy to clipboard operation
sway copied to clipboard

Track down any missing spans in IR-gen

Open mohammadfawaz opened this issue 3 years ago • 2 comments

Similarly to what was done in https://github.com/FuelLabs/sway/pull/1250.. there may be other instances where errors are missing spans.

mohammadfawaz avatar Apr 15 '22 02:04 mohammadfawaz

Under ir_generation, we seem to be using Span::dummy() for empty spans.

mohammadfawaz avatar Sep 07 '22 03:09 mohammadfawaz

...but if there is a better span available which we aren't using we should switch.

otrho avatar Sep 07 '22 04:09 otrho