compiler version: version 2.10.0-M7
java version "1.6.0_24"
It is something in
src/play/src/main/scala/play/api/libs/json/Util.scala
Whenever I try to compile it I get the following exception in compiler.
I guess when I got some spare time I will track it down to a smaller
case and create an issue...
(it is easy to reproduce, just try to compile akmacro-json mentioned
earlier in this thread, it is nothing more than play20 json + one
extra class which doesn't make any difference,
it compiles OK..., but as soon as you add Utils.scala from the master
branch it compiles no more)
[error] last tree to typer: Ident(_root_)
[error] symbol: package _root_ (flags: final <module>
<package> <java> <static> <triedcooking>)
[error] symbol definition: final package _root_
[error] tpe: <root>
[error] symbol owners: package _root_
[error] context owners: type A14 -> method ~ -> class CanBuild13
-> class FunctionalBuilder -> package util
[error]
[error] == Enclosing template or block ==
[error]
[error] DefDef( // def ~: <?> in class CanBuild13
[error] <method>
[error] "$tilde"
[error] TypeDef( // A14
[error] <deferred> <param>
[error] "A14"
[error] []
[error] TypeBoundsTree(
[error] "_root_"."scala"."Nothing"
[error] "_root_"."scala"."Any"
[error] )
[error] )
[error] // 1 parameter list
[error] ValDef( // m3: M[A14]
[error] <param> <triedcooking>
[error] "m3"
[error] AppliedTypeTree( // M[_] in class FunctionalBuilder
[error] "M" // M[_] in class FunctionalBuilder, tree.tpe=M
[error] "A14" // A14, tree.tpe=A14
[error] )
[error] <empty>
[error] )
[error] <tpt>
[error] Apply(
[error] new CanBuild14."<init>"
[error] // 2 arguments
[error] Apply(
[error] "canBuild"
[error] // 2 arguments
[error] "m1"
[error] "m2"
[error] )
[error] "m3" // m3: M[A14], tree.tpe=M[A14]
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] ThisType(package <root>)
>
https://groups.google.com/d/msg/play-framework/-/oe4H_U9vFtkJ.