Hey all,
Wanted to let everyone know that the cross compile for the framework has been broken for a
few days. I just pushed
a commit that should fix it, but it’s not very elegant.
Net-net, Future gained a few new methods in Scala 2.12. To conform to the Future interface
we have to provide an implementation for them in 2.12. However, they don’t exist in 2.11, so
we can’t actually implement them.
I attempted to use macros to provide a conditional implementation - such that the
implementation would exist when compiling under 2.12, but not when compiling under 2.11.
However, it seems that macros don’t like implicit method arguments - so the fact that the
ExecutionContext gets passed in implicitly means that I can’t shim it away with a macro.
I’m open to other options here. I don’t particularly relish throwing an
UnsupportedOperationException in the framework. But I also have run out of “good”
ideas.
Cheers,
—
Matt Farmer |
Blog |
TwitterGPG: CD57 2E26 F60C 0A61 E6D8 FC72 4493 8917 D667 4D07