Skip to content

Commit e215281

Browse files
committed
Fix scala-js/scala-js#1917: Add -Xfatal-warnings for ScalaDoc generation
Note that links to the JavaDoc are not yet correct (filed as scala-js/scala-js#1970).
1 parent 27a842c commit e215281

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

js-envs/src/main/scala/org/scalajs/jsenv/AsyncJSRunner.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trait AsyncJSRunner {
4747
final def await(): Unit = Await.result(future, Duration.Inf)
4848

4949
/** Await completion of the started Run for the duration specified
50-
* by [[atMost]]. Strictly equivalent to:
50+
* by `atMost`. Strictly equivalent to:
5151
*
5252
* {{{
5353
* Await.result(future, atMost)
@@ -57,7 +57,7 @@ trait AsyncJSRunner {
5757
final def await(atMost: Duration): Unit = Await.result(future, atMost)
5858

5959
/** Awaits completion of the started Run for the duration specified by
60-
* [[atMost]], or force it to stop.
60+
* `atMost`, or force it to stop.
6161
*
6262
* If any exception is thrown while awaiting completion (including a
6363
* [[scala.concurrent.TimeoutException TimeoutException]], forces the runner

js-envs/src/main/scala/org/scalajs/jsenv/ComJSRunner.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ trait ComJSRunner extends AsyncJSRunner {
99

1010
/** Blocks until a message is received and returns it.
1111
*
12-
* @throws ComClosedException if the channel is closed before a message
13-
* is received
12+
* @throws ComJSEnv.ComClosedException if the channel is closed before a
13+
* message is received
1414
*/
1515
final def receive(): String = receive(Duration.Inf)
1616

1717
/** Blocks until a message is received and returns it.
1818
*
19-
* @throws ComClosedException if the channel is closed before a message
20-
* is received
19+
* @throws ComJSEnv.ComClosedException if the channel is closed before a
20+
* message is received
2121
* @throws scala.concurrent.TimeoutException if the timeout expires
2222
* before a message is received and the channel is still open
2323
*/

js-envs/src/main/scala/org/scalajs/jsenv/ExternalJSEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ abstract class ExternalJSEnv(
8484

8585
/** Wait for the VM to terminate, verify exit code
8686
*
87-
* @throws NonZeroExitException if VM returned a non-zero code
87+
* @throws ExternalJSEnv.NonZeroExitException if VM returned a non-zero code
8888
*/
8989
final protected def waitForVM(vmInst: Process): Unit = {
9090
// Make sure we are done.

0 commit comments

Comments
 (0)