File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ scala -cp out Test
127
127
```
128
128
129
129
** Flags**
130
- - To specify compiler flags such as ` -Werror -Xlint ` , you can add a comment at the top of your source file of the form: ` // scalac: -Werror -Xlint ` .
130
+ - To specify compiler flags such as ` -Werror -Xlint ` , you can add a comment at the top of your source file of the form:
131
+ ` //> using options -Werror -Xlint `
131
132
- Similarly, a ` // javac: <flags> ` comment in a Java source file passes flags to the Java compiler.
132
133
- A ` // filter: <regex> ` comment eliminates output lines that match the filter before comparing to the ` .check ` file.
133
134
- A ` // java: <flags> ` comment makes a ` run ` test execute in a separate JVM and passes the additional flags to the ` java ` command.
You can’t perform that action at this time.
0 commit comments