propensive / contextual

Statically-checked string interpolation in Scala
https://soundness.dev/contextual/
251 stars 23 forks source link

Check version 2.0.0 works correctly #61

Closed propensive closed 3 years ago

propensive commented 3 years ago

I have migrated the macro from Scala 2.12 to Scala 2.13, and cleaned some things up in the process. Notably, the Prefix has been removed, and the instructions on binding the macro to an interpolator have changed. (The documentation and examples should reflect this.)

In the process, however, two of the tests failed to pass, with mysterious errors. While most extractors seem to work, this release may be useful for existing users who want to migrate to Scala 2.13, but it includes a regression over the previous release, and should not be considered bug-free.

This issue is a reminder that more work needs to be done to investigate this problem.

propensive commented 3 years ago

My sincere apologies to @meshake, @regadas, @martingd, @laughedelic and @Ben-Woolley who were waiting a very long time for Scala 2.13 support (long enough to find alternative solutions, I'm sure) and all I can offer is this tainted version... Thanks for your patience.

Things are, however, somewhat better organized now than they were before, so it should be easier for me to make progress on this in the future. Version 2.0.0 for Scala 2.12 and 2.13 should shortly be on Maven Central.