aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-01 11:11:15 +0100
committergingerBill <bill@gingerbill.org>2023-08-01 11:11:15 +0100
commit69e1f42aedad0d1992e64989aac1d236bee3d4d9 (patch)
treec2d26c92e0120cc97d14196fcb5e28fa9cd51133 /src/check_builtin.cpp
parentc35c58b023ec98aa7d42498b9ece68cf481f2c32 (diff)
Replace a lot of warnings with errors; remove deprecated stuff
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 269a0ec48..35720c914 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -1406,7 +1406,7 @@ gb_internal bool check_builtin_procedure_directive(CheckerContext *c, Operand *o
}
return false;
} else if (name == "load_or") {
- warning(call, "'#load_or' is deprecated in favour of '#load(path) or_else default'");
+ error(call, "'#load_or' has now been removed in favour of '#load(path) or_else default'");
if (ce->args.count != 2) {
if (ce->args.count == 0) {