Closed bishabosha closed 3 years ago
A minimal reproduction of the bug can be found here: https://github.com/adpi2/scala-bug-12357
A minimal reproduction of the bug can be found here: https://github.com/adpi2/scala-bug-12357
Thank you! this is quite surprising that this is so small, I will investigate
I honestly thought from the thumbnail that @adpi2 sported an impressively huge beard, but I see when I click on it that it's actually some kind of European fungus of the sort encountered in the forests of folk tales. The younger brother heads out to seek his fortune and encounters a fungus of immense proportions and magical powers. Anyway, this bug has the quality of a folk tale, short and with profound twists.
This needs minimisation, but was found while trying to use MUnit 0.7.22 (with Scala 3.0.0-RC1 support). MUnit follows the advice for bundling Scala 2 macros in a Scala 3 library.
reproduction steps
using Scala 2.13.5,
problem
we get the error
using
-Ydebug-tasty
we can see that bothcompileErrors
methods were forced to complete, this should not happen as the Scala 3 version should have been ignored: