Skip to content

Scalameta 1.5.0

Compare
Choose a tag to compare
@xeno-by xeno-by released this 26 Apr 20:49
· 5060 commits to main since this release

testkit

  • testkit is a new module that can be used to run
    property-based
    tests on real-world Scala code. The corpus consists of around 27k source files from projects
    such as Spark, Akka, Kafka, intellij-scala, scalac, Scala.js and more.
  • Here is an example of how we use testkit to test the scala.meta parser.
    The output of that test is a markdown formatted table like this one.

Dotty support

  • We have been collaborating with @liufengyun on his work to implement inline/meta macros for Dotty
    (https://github.com/liufengyun/eden). Scala.meta has undergone
    some minor internal changes to accommodate recent work on Eden.

Bugfixes

  • Pretty-printer bug for Type.Function(Tuple, _) (#557)
  • Regression in parsing wildcard functions (#561)
  • Fix "foo { i: Int => () }".toString (#574)
  • Fix prettyprinting for macro definitions (#581)