Skip to content

v3.0.0

Compare
Choose a tag to compare
@dwickern dwickern released this 07 Feb 18:00
· 25 commits to master since this release
  1. Adds support for compile-time constants
println(nameOf(java.lang.Integer.MAX_VALUE))

// compiles to:
println("MAX_VALUE")
  1. APIs now return compile-time constants, which allows them to be used in annotations:
@Resource(name = nameOfType[SomeClass])
class SomeClass

// compiles to:
@Resource(name = "SomeClass")
class SomeClass