scala icon indicating copy to clipboard operation
scala copied to clipboard

induction heuristics incompatible with sbt's resolution cache

Open tek opened this issue 7 years ago • 0 comments

The combination of -Yinduction-heuristics and updateOptions := updateOptions.value.withCachedResolution(true) results in an error during compileIncremental:

MissingRequirementError: class scala.annotation.inductive in compiler mirror not found.

Steps to reproduce:

  • clone https://github.com/tek/tls_test
  • (un)comment the updateOptions setting
  • reload
  • clean
  • compile

When using coursier, this will be fixed soon, but not with regular sbt.

tek avatar May 12 '17 07:05 tek