Skip to content

Commit

Permalink
Merge pull request #14490 from bjornregnell/main
Browse files Browse the repository at this point in the history
fix typo in docs example capability checking
  • Loading branch information
odersky authored Feb 16, 2022
2 parents 594043f + ccd39b7 commit 8f99dad
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 8f99dad

Please sign in to comment.