Skip to content

Commit 196c901

Browse files
committed
typo in Compiler.Effects doc string: checkbounds -> boundscheck
Follows up on JuliaLang#56060
1 parent 3db1c62 commit 196c901

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)