scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
230 stars 21 forks source link

Missing invalidation with 2.13.12 (zinc / compiler bridge) #12887

Closed lrytz closed 8 months ago

lrytz commented 8 months ago

Missing invalidation / recompilation in zinc with 2.13.12, discovered while working on https://github.com/scala/scala/pull/10554.

Output for reference: https://gist.github.com/lrytz/61930adc6ed4f7d0648bbc1abf3b0bef

I tested this in a small sbt project and I can reproduce the issue. Notes

I also tried reproducing the issue in the scripted test in the zinc repository, but didn't manage, not sure why. Output of running the test in zinc: https://gist.github.com/lrytz/e42076ecadc49c770465f97c12a0602b

lrytz commented 8 months ago

Moved to https://github.com/sbt/zinc/issues/1268