Skip to content

1.4.30-1.0.0-alpha03

Compare
Choose a tag to compare
@neetopia neetopia released this 25 Feb 00:07
· 561 commits to master since this release

Highlights

  • Added KSClassDeclaration. getSealedSubclasses() API (credit to @ZacSweers)
  • KSP now handles exceptions instead of throwing them. For KSP internal exceptions, KSP will return an InternalError to compiler, for processors thrown exceptions, KSP will return CompilationError to compiler. Please files bugs for InternalErrors

API and behavior changes

  • SymbolProcessor.finish() now has a default implementation of no op.
  • If KSP has been executing for more than 100 rounds, a warning will be printed to indicate potential infinite loop caused by inappropriate multiple round processors.