Skip to content

Scaladoc tasks in CI use wrong version of stdlib #13427

@odersky

Description

@odersky

See #13423. Here the compilation rules have changed so that class MatchError of the original StdLib213 no longer compiles. I have updated MatchError and even merged the updates into master in #13425. But the ScalaDoc tasks still fail with an error
that indicates they see the previous version of the library. Here is the error:

9 |final class MatchError(@transient obj: Any) extends RuntimeException {
Error:     |                                  ^
Error:     |obj is marked `@transient` but it is retained as a field in class MatchError

To compare, the new version of MatchError in the StdLib included in CB reads as follows

9 |final class MatchError(@transient private val obj: Any) extends RuntimeException {

Expected

Use the latest version of the standard library in the CB for ScalaDoc tasks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions