Skip to content

Commit a347632

Browse files
committed
Add usage documentation to FromTasty
1 parent 12d5dbc commit a347632

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/dotty/tools/dotc/FromTasty.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ import Decorators._
1616
import dotty.tools.dotc.transform.Pickler
1717
import pickling.DottyUnpickler
1818

19+
/** Compiler for TASTY files.
20+
* Usage:
21+
*
22+
* scala dotty.tools.dotc.FromTasty (option | classname)*
23+
*
24+
* Options are as for dotc.
25+
* Classnames are fully qualified names of top-level classes that need to have a TASTY attribute.
26+
* Example:
27+
*
28+
* scala dotty.tools.dotc.FromTasty -Xprint:front extMethods.T
29+
*/
1930
object FromTasty extends Driver {
2031
override def newCompiler(): Compiler = new TASTYCompiler
2132

0 commit comments

Comments
 (0)