source_span icon indicating copy to clipboard operation
source_span copied to clipboard

Convert extension methods to instance methods in the next breaking release

Open nex3 opened this issue 5 years ago • 0 comments
trafficstars

https://github.com/dart-lang/source_span/pull/49 adds some extension methods on SourceSpan. These are being added as extensions to avoid breaking downstream classes that implement SourceSpan without including SourceSpanMixin, but they would ideally be instance methods whose implementation would be provided with the mixin but could also be overridden by downstream users. The next breaking change should fix this.

nex3 avatar Jan 14 '20 19:01 nex3