Skip to content

Instantly share code, notes, and snippets.

@pk11
Created September 12, 2012 15:14
Show Gist options
  • Save pk11/3707286 to your computer and use it in GitHub Desktop.
Save pk11/3707286 to your computer and use it in GitHub Desktop.
scala 2.10.0-M7 compiler crash
source file:
-----------
https://github.com/playframework/Play20/blob/master/framework/src/play/src/main/scala/play/api/libs/json/Util.scala
trace:
------
[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>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment