There is no defense for having a "standard" option which is only useful for compiling the scala library. A -X or -Y option would be better, but that just clutters the next set. It should be a "-Z" option, only for guys like ourselves.
On 28 July 2011 16:12, Lukas Rytz <firstname.lastname@example.org> wrote:
I think you misunderstand what sourcepath does. In fact, I don't believe there
is a good usecase for it, except compiling the standard library
It's not giving a path and telling the compiler to compile everything in there.
Basically, sourcepath allows you to compile the standard library without anything
on the classpath. The compiler will create class symbols for source files based
on their path and name.
Oh, ok. I think it would be good to somehow make this setting less visible. If you go here: http://www.scala-lang.org/docu/files/tools/scalac.html
Specify where to find input source files.
This description gives no clue what this option is about.