This fix, present in 2.10-M6 and above can cause the following issue at runtime. Comment added should anyone else hit this.
The code will "compile" but it generates CCEing byte code:
scaley.funny.package$ cannot be cast to scales.xml.PullIteratees
which is true, but for some reason the compiler generates it.
The code is here:
4 very small files plus the build.sbt. clean + run and you'll see the cce.
I've commented in the code what can stop the cce, any of which forces
the correct package$ to be used:
- change package name of using code (and import the package)
- comment out the import of scaley.funny._
- remove the overloaded function in PullIteratees
- use the fully qualified path to iterate