Using version specific scala compiler options

Viewed 67

I am looking at Scala Compiler Options. This doc explains all the compiler options in detail. But, this doc doesn't seem to be targeted for a specific scala version.

Does it mean it all the options are supported/recommended for all versions ?

Is there any official documentation which defines these compiler options with respect to a particular scala version ?

Would be really helpful to know the correct references to use for selecting these compiler options.

1 Answers

Print standard options

scalac -help

Print advanced options

scalac -X

Print private options

scalac -Y

Related