Skip to content

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

Open
@hamzaremmal

Description

@hamzaremmal

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> 

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions