Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hamzaremmal opened this issue Mar 28, 2025 · 0 comments
Open

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

hamzaremmal opened this issue Mar 28, 2025 · 0 comments
Assignees
Labels
area:doctool itype:bug itype:meta Issues about process/similar

Comments

@hamzaremmal
Copy link
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> 
@hamzaremmal hamzaremmal added itype:bug itype:meta Issues about process/similar stat:needs triage Every issue needs to have an "area" and "itype" label labels Mar 28, 2025
@hamzaremmal hamzaremmal self-assigned this Mar 28, 2025
@KacperFKorban KacperFKorban added area:doctool and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:doctool itype:bug itype:meta Issues about process/similar
Projects
None yet
Development

No branches or pull requests

3 participants