Skip to content

NoDenotation error with scala 3.3.0 #511

Open
@frozenwizard

Description

@frozenwizard

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions