-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Try with any for( i: Int <- 0 until 10)
instead of for( i <- 0 until 10)
:
[error]
[error] last tree to typer: Literal(Constant(String))
[error] symbol: null
[error] symbol definition: null
[error] tpe: Class(classOf[java.lang.String])
[error] symbol owners:
[error] context owners: anonymous class anonfun$Cumsum$1 -> package Utils
[error]
[error] == Enclosing template or block ==
[error]
[error] Template( // val <local $anonfun>: <notype>, tree.tpe=Utils.anonfun$Cumsum$1
[error] "scala.runtime.AbstractFunction2$mcDDD$sp", "scala.Serializable" // parents
[error] ValDef(
[error] private
[error] "_"
[error] <tpt>
[error] <empty>
[error] )
[error] // 4 statements
[error] DefDef( // final def apply(x$1: Double,x$2: Double): Double
[error] <method> final <triedcooking>
[error] "apply"
[error] []
[error] // 1 parameter list
[error] ValDef( // x$1: Double
[error] <param> <synthetic> <triedcooking>
[error] "x$1"
[error] <tpt> // tree.tpe=Double
[error] <empty>
[error] )
[error] ValDef( // x$2: Double
[error] <param> <synthetic> <triedcooking>
[error] "x$2"
[error] <tpt> // tree.tpe=Double
[error] <empty>
[error] )
[error] <tpt> // tree.tpe=Double
[error] Apply( // def apply$mcDDD$sp(x$1: Double,x$2: Double): Double, tree.tpe=Double
[error] AlgebraUtil$$anonfun$Cumsum$1.this."apply$mcDDD$sp" // def apply$mcDDD$sp(x$1: Double,x$2: Double): Double, tree.tpe=(x$1: Double, x$2: Double)Double
[error] // 2 arguments
[error] "x$1" // x$1: Double, tree.tpe=Double
[error] "x$2" // x$2: Double, tree.tpe=Double
[error] )
[error] )
[error] DefDef( // def apply$mcDDD$sp(x$1: Double,x$2: Double): Double
[error] <method> <specialized> <triedcooking>
[error] "apply$mcDDD$sp"
[error] []
[error] // 1 parameter list
[error] ValDef( // x$1: Double
[error] <param> <triedcooking>
[error] "x$1"
[error] <tpt> // tree.tpe=Double
[error] <empty>
[error] )
[error] ValDef( // x$2: Double
[error] <param> <triedcooking>
[error] "x$2"
[error] <tpt> // tree.tpe=Double
[error] <empty>
[error] )
[error] <tpt> // tree.tpe=Double
[error] Apply( // def +(x: Double): Double in class Double, tree.tpe=Double
[error] "x$1"."$plus" // def +(x: Double): Double in class Double, tree.tpe=(x: Double)Double
[error] "x$2" // x$2: Double, tree.tpe=Double
[error] )
[error] )
[error] DefDef( // final def apply(v1: Object,v2: Object): Object
[error] <method> final <bridge>
[error] "apply"
[error] []
[error] // 1 parameter list
[error] ValDef( // v1: Object
[error] <param> <triedcooking>
[error] "v1"
[error] <tpt> // tree.tpe=Object
[error] <empty>
[error] )
[error] ValDef( // v2: Object
[error] <param> <triedcooking>
[error] "v2"
[error] <tpt> // tree.tpe=Object
[error] <empty>
[error] )
[error] <tpt> // tree.tpe=Object
[error] Apply( // def box(x: Double): Double in object Double, tree.tpe=Object
[error] "scala"."Double"."box" // def box(x: Double): Double in object Double, tree.tpe=(x: Double)Double
[error] Apply( // final def apply(x$1: Double,x$2: Double): Double, tree.tpe=Double
[error] AlgebraUtil$$anonfun$Cumsum$1.this."apply" // final def apply(x$1: Double,x$2: Double): Double, tree.tpe=(x$1: Double, x$2: Double)Double
[error] // 2 arguments
[error] Apply( // def unbox(x: Object): Double in object Double, tree.tpe=Double
[error] "scala"."Double"."unbox" // def unbox(x: Object): Double in object Double, tree.tpe=(x: Object)Double
[error] "v1" // v1: Object, tree.tpe=Object
[error] )
[error] Apply( // def unbox(x: Object): Double in object Double, tree.tpe=Double
[error] "scala"."Double"."unbox" // def unbox(x: Object): Double in object Double, tree.tpe=(x: Object)Double
[error] "v2" // v2: Object, tree.tpe=Object
[error] )
[error] )
[error] )
[error] )
[error] DefDef( // def <init>(): Utils.anonfun$Cumsum$1
[error] <method> <triedcooking>
[error] "<init>"
[error] []
[error] List(Nil)
[error] <tpt> // tree.tpe=Utils.anonfun$Cumsum$1
[error] Block( // tree.tpe=Unit
[error] Apply( // def <init>(): scala.runtime.AbstractFunction2$mcDDD$sp in class AbstractFunction2$mcDDD$sp, tree.tpe=scala.runtime.AbstractFunction2$mcDDD$sp
[error] AlgebraUtil$$anonfun$Cumsum$1.super."<init>" // def <init>(): scala.runtime.AbstractFunction2$mcDDD$sp in class AbstractFunction2$mcDDD$sp, tree.tpe=()scala.runtime.AbstractFunction2$mcDDD$sp
[error] Nil
[error] )
[error] ()
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] ConstantType(value = Constant(String))
[error]
[error] symbol value check$ifrefutable$4 does not exist in DataMoments.DataCumulant.DataMoments$DataCumulant$$update_thirdOrderMoments
[error] Total time: 9 s, completed Nov 10, 2015 12:58:16 PM
Metadata
Metadata
Assignees
Labels
No labels