Skip to content

Running run in the scaladoc project actually runs the compiler #22883

Open
@hamzaremmal

Description

@hamzaremmal
Member

Compiler version

d519790

Reproducer

sbt:scaladoc> run -version
// ...
Scala compiler version 3.7.1-RC1-bin-SNAPSHOT-nonbootstrapped-git-a5e029a -- Copyright 2002-2025, LAMP/EPFL
[success] Total time: 2 s, completed Mar 28, 2025, 2:51:54 PM
sbt:scaladoc> 

Expectation

Run scaladoc, not scalac

sbt:scaladoc> runMain dotty.tools.scaladoc.Main -version
// ...
Scaladoc version 3.7.1-RC1-bin-SNAPSHOT-git-a5e029a -- Copyright 2002-2025, LAMP/EPFL
[success] Total time: 4 s, completed Mar 28, 2025, 2:52:50 PM
sbt:scaladoc> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @dwijnand@KacperFKorban@hamzaremmal

      Issue actions

        Running `run` in the `scaladoc` project actually runs the compiler · Issue #22883 · scala/scala3