aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
authorPlatin21 <armin.hamar@icloud.com>2020-09-27 22:13:12 +0300
committerPlatin21 <armin.hamar@icloud.com>2020-09-27 22:13:12 +0300
commitd72a01a714dc150b6c58ecf7f4c066bce2a2a5d1 (patch)
tree835beb15048f2d0ab7f930630636763f81609666 /core/runtime
parent2ed6785b4af6bfef40c4c1b34167507195619f32 (diff)
parent2ebb94fa729e50867ca882fd08acc64bab902ca3 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/error_checks.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/error_checks.odin b/core/runtime/error_checks.odin
index 82d6b7159..d40ac45ca 100644
--- a/core/runtime/error_checks.odin
+++ b/core/runtime/error_checks.odin
@@ -35,7 +35,7 @@ bounds_check_error :: proc "contextless" (file: string, line, column: int, index
handle_error(file, line, column, index, count);
}
-slice_handle_error :: proc "contextless" (file: string, line, column: int, lo, hi: int, len: int) {
+slice_handle_error :: proc "contextless" (file: string, line, column: int, lo, hi: int, len: int) -> ! {
context = default_context();
fd := os_stderr();
print_caller_location(fd, Source_Code_Location{file, line, column, "", 0});