Skip to content

Commit 969754d

Browse files
authored
typo in Compiler.Effects doc string: checkbounds -> boundscheck (#56140)
Follows up on #56060
1 parent 4609aad commit 969754d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/effects.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ following meanings:
4747
* `ALWAYS_TRUE`: this method is guaranteed to not execute any undefined behavior (for any input).
4848
* `ALWAYS_FALSE`: this method may execute undefined behavior.
4949
* `NOUB_IF_NOINBOUNDS`: this method is guaranteed to not execute any undefined behavior
50-
under the assumption that its `@checkbounds` code is not elided (which happens when the
50+
under the assumption that its `@boundscheck` code is not elided (which happens when the
5151
caller does not set nor propagate the `@inbounds` context)
5252
Note that undefined behavior may technically cause the method to violate any other effect
5353
assertions (such as `:consistent` or `:effect_free`) as well, but we do not model this,

0 commit comments

Comments
 (0)