mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 17:38:02 +02:00
Extract the api after picklers, since that way we see the same symbol information/structure irrespective of whether we were typechecking from source / unpickling previously compiled classes. Previously, the apiExtractor phase ran after typer. Since this fix is hard to verify with a test (it's based on the conceptual argument above, and anecdotal evidence of incremental compilation of a big codebase), we're providing a way to restore the old behaviour: run sbt with -Dsbt.api.phase=typer. This fixes #609.