icerpc / slicec

The Slice compiler library
Apache License 2.0
13 stars 5 forks source link

Remove Check for Notes and Diagnostics Having Different Spans #653

Closed InsertCreativityHere closed 1 year ago

InsertCreativityHere commented 1 year ago

When emitting notes we perform a special check: it the snippet of a note exactly matches the snippet of the diagnostic it's attached to, we don't emit it. The logic being, there's no point to showing the same snippet twice.

However: