Skip to content

Commit

Permalink
fix typo in docs example capability checking
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed Feb 15, 2022
1 parent 1476a30 commit ccd39b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/experimental/cc.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def escaped(xs: Double*): (() => Double) throws LimitExceeded =
val crasher = escaped(1, 2, 10e+11)
crasher()
```
This code needs to be rejected since otherwise the call to `later()` would cause
This code needs to be rejected since otherwise the call to `crasher()` would cause
an unhandled `LimitExceeded` exception to be thrown.

Under `-Ycc`, the code is indeed rejected
Expand Down

0 comments on commit ccd39b7

Please sign in to comment.