Skip to content

Lox2 v2.2.1

Choose a tag to compare

@HallofFamer HallofFamer released this 11 Jun 12:44
· 262 commits to master since this release

Lox2 version 2.2.1, it makes the following minor fixes/improvements over the last version 2.2.0:

  • Smart reified generics that only passes type objects as instance fields or function arguments if they are actually being used/inspected.
  • Implement configuration options flagUnusedImport and flagUndefinedType in lox2.ini which decide whether to throw warnings/errors when encountering unused imports or undefined type annotations.
  • Fix a glitch that the resolver cannot find and load types from the same namespace without using statement, which causes typechecking errors in some cases.