diff options
| author | gingerBill <bill@gingerbill.org> | 2019-03-30 10:17:31 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-03-30 10:17:31 +0000 |
| commit | a9b20c29b1ade46d82ab6c62dfcf9148d86daae0 (patch) | |
| tree | 9c2e089575dc1f6f3830ede406d0090dfc652c5f /core/runtime | |
| parent | 1fd677b42e33cf0407e204830df656fc1a931df5 (diff) | |
Fix slicing issue; Change path of math/bits in package json #363
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/internal.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/internal.odin b/core/runtime/internal.odin index 82cd4cb72..60110be15 100644 --- a/core/runtime/internal.odin +++ b/core/runtime/internal.odin @@ -303,7 +303,7 @@ slice_expr_error_hi :: proc "contextless" (file: string, line, column: int, hi: } slice_expr_error_lo_hi :: proc "contextless" (file: string, line, column: int, lo, hi: int, len: int) { - if 0 <= lo && lo < len && lo <= hi && hi <= len do return; + if 0 <= lo && lo <= len && lo <= hi && hi <= len do return; handle_error :: proc "contextless" (file: string, line, column: int, lo, hi: int, len: int) { fd := os.stderr; print_caller_location(fd, Source_Code_Location{file, line, column, "", 0}); |