Skip to content

scaladoc issues "Flag -classpath set repeatedly" warning, when classpath is set only once #22875

Open
@arixmkii

Description

@arixmkii

Compiler version

3.6.4

Minimized code

A.scala

class A

B.scala

class B extends A

Project setup:

tree
.
├── a
│   └── A.scala
├── b
│   └── B.scala
└── o

4 directories, 2 files

Output

pushd a ; scalac A.scala ; popd

pushd b ; scalac -classpath ../a B.scala ; popd

scaladoc -d o -project b -classpath a b/B.tasty
Flag -classpath set repeatedly
1 warning found

Expectation

No warning issued by scaladoc as classpath is only set once in the command line

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