Skip to content

0.4.3-M1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Sep 16:00
1dae28d
use new rather than apply in Scala 3 (#176)

Scala 2 macros expand to e.g. `new sourcecode.Line(2)`.

To maintain compatibility with other tools such as Mill's CodeSig
analyzer, we should directly call the constructor, rather than the
companion's `apply` method e.g. `sourcecode.Line.apply(2)`