Skip to content

Commit ccd39b7

Browse files
committed
fix typo in docs example capability checking
1 parent 1476a30 commit ccd39b7

File tree

1 file changed

+1
-1
lines changed
  • docs/_docs/reference/experimental

1 file changed

+1
-1
lines changed

docs/_docs/reference/experimental/cc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def escaped(xs: Double*): (() => Double) throws LimitExceeded =
500500
val crasher = escaped(1, 2, 10e+11)
501501
crasher()
502502
```
503-
This code needs to be rejected since otherwise the call to `later()` would cause
503+
This code needs to be rejected since otherwise the call to `crasher()` would cause
504504
an unhandled `LimitExceeded` exception to be thrown.
505505

506506
Under `-Ycc`, the code is indeed rejected

0 commit comments

Comments
 (0)