Skip to content

v0.11.0

Compare
Choose a tag to compare
@sjrd sjrd released this 31 Oct 16:54
· 137 commits to main since this release
c6eabea

This release acts as an RC for v1.0.0.

It contains major cleanups and refactorings of the API compared to v0.10.x. The most important changes are:

  • Move Contexts.init(classpath) to Contexts.Context.initialize(classpath).
  • Add RepeatedType(elemType), instead of an AppliedType with a magic class as tycon.
  • Split FullyQualifiedName into PackageFullName and SignatureName, depending on use cases.
  • The toString() of object class names now includes a trailing $ (this also affects the toString() of SignatureName).
  • Other refactorings of the Name hierarchy to be more type-safe.
  • Rename RealTypeBounds into AbstractTypeBounds.
  • Rename Binders to TypeBinder, along with other renamings of related traits.
  • Remove the dependency on tasty-core.

In addition, it fixes the following issues:

  • Cannot read QUALTHIS nodes whose qualifier is a PackageRef.
  • #374 Symbol.matchingSymbol does not correctly compare MethodTypes and Types.