java.lang.NullPointerException: Cannot invoke "scala.reflect.internal.Types$Type.params()" because the return value of "scala.reflect.internal.Trees$Tree.tpe()" is null #13079
Labels
compiler crash
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
should not compile
Milestone
Reproduction steps
Scala version: 2.13.15; 2.13.16
Problem
During a refactor yesterday, I changed the CopyScenarioEventsProjectionHandler but forgot to update the code calling it.
The compiler died with the exception
I've deleted everything from my project to create this reproducer. Here now the compiler at least says
which helps to solve the problem. However, in my original code base, this message is not shown, just the exception.
Also IntelliJ is not recognizing the mistake.
When this code is copied into scastie, the compilation just dies.
The text was updated successfully, but these errors were encountered: