You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: an unexpected type representation reached the compiler backend while compiling Test.scala: <error>. If possible, please file a bug on issues.scala-lang.org.
scala.MatchError: <error> (of class scala.reflect.internal.Types$ErrorType$)
at scala.tools.nsc.backend.jvm.BTypesFromSymbols.typeToBType(BTypesFromSymbols.scala:212)
Probably related: adding a type parameter to the function literal (_: Int => ...) causes a crash in the typer
Test.scala:4: error: too many arguments (2) for method apply: (key: Int)scala.collection.mutable.ArrayBuffer[Int] in trait MapLike
m(1, {_: Int => mutable.ArrayBuffer[Int]()}) ++= mutable.ArrayBuffer(1, 2, 3, 4, 5, 6)
^
error: java.lang.NullPointerException
at scala.tools.nsc.typechecker.Typers$Typer.addLocals$1(Typers.scala:3938)
at scala.tools.nsc.typechecker.Typers$Typer.packedType(Typers.scala:3964)
at scala.tools.nsc.ast.TreeGen.mkPackedValDef(TreeGen.scala:189)
at scala.tools.nsc.ast.TreeGen.$anonfun$evalOnceAll$1(TreeGen.scala:223)
at scala.tools.nsc.typechecker.Typers$Typer.mkUpdate$1(Typers.scala:4717)
The text was updated successfully, but these errors were encountered:
[ERROR] /Users/jens/Development/flink/flink-tests/src/test/java/org/apache/flink/test/javaApiOperators/GroupCombineITCase.java:54: error: not found: type TestExecutionMode
[INFO] public GroupCombineITCase(TestExecutionMode mode) {
maybe related to scala/bug#10207 ?
DieBauer
added a commit
to DieBauer/flink
that referenced
this issue
Apr 16, 2017
[ERROR] /Users/jens/Development/flink/flink-tests/src/test/java/org/apache/flink/test/javaApiOperators/GroupCombineITCase.java:54: error: not found: type TestExecutionMode
[INFO] public GroupCombineITCase(TestExecutionMode mode) {
maybe related to scala/bug#10207 ?
results in
Probably related: adding a type parameter to the function literal (
_: Int => ...
) causes a crash in the typerThe text was updated successfully, but these errors were encountered: