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
I have a project that was running fine under 3.2.1 with coverage. I upgraded to scala 3.3.0 and also sbt-tpolecat and scoverage to the latest versions. Now when I run coverage on tests and integration tests they fail during compilation with an error I don't understand.
java.lang.AssertionError: NoDenotation.owner while running MegaPhase{crossVersionChecks, protectedAccessors, extmethods, uncacheGivenAliases, elimByName, hoistSuperArgs, forwardDepChecks, specializeApplyMethods, tryCatchPatterns, patternMatcher} on /builds/Myfile.scala
[info] exception occurred while compiling /builds/<my project files here>
java.lang.AssertionError: NoDenotation.owner while compiling <insert my scala files here>
[error] ## Exception when compiling 13 sources to /builds/my-project/target/scala-3.3.0/classes
[error] java.lang.AssertionError: NoDenotation.owner
[error] dotty.tools.dotc.core.SymDenotations$NoDenotation$.owner(SymDenotations.scala:2576)
[error] dotty.tools.dotc.transform.HoistSuperArgs$Hoister.hoistSuperArgsFromCall(HoistSuperArgs.scala:185)
When running test/itests on their own there is no issue, only when I add in the coverage to "sbt coverage test" does it fail. This error seems to be a compiler error?
The text was updated successfully, but these errors were encountered:
I encountered the same error. Do you have any guidance on how I can figure out the source of the issue to reproduce it? My project is really large and the stacktrace does not help (it is similar to the original poster). I tried running coverage using -Ycheck:all but still no clue. For reference, it seems like this was considered solved on the lang side
I have a project that was running fine under 3.2.1 with coverage. I upgraded to scala 3.3.0 and also sbt-tpolecat and scoverage to the latest versions. Now when I run coverage on tests and integration tests they fail during compilation with an error I don't understand.
When running test/itests on their own there is no issue, only when I add in the coverage to "sbt coverage test" does it fail. This error seems to be a compiler error?
The text was updated successfully, but these errors were encountered: