aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-02-22 11:48:10 +0000
committergingerBill <bill@gingerbill.org>2023-02-22 11:48:10 +0000
commit090e30f07b10a79edf38736cc466a4f223167971 (patch)
treece4c3957789661066ef0acee1ca01a0ef1a79f84 /src/exact_value.cpp
parentf5d507a9b9d20941bd86ba8559f710f21f0c8ccd (diff)
Make `-verbose-errors` the default; `-terse-errors` to disable it
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index fc4ae2155..1ab50800d 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -578,9 +578,7 @@ gb_internal ExactValue exact_unary_operator_value(TokenKind op, ExactValue v, i3
}
}
-failure:
- GB_PANIC("Invalid unary operation, %.*s", LIT(token_strings[op]));
-
+failure:;
ExactValue error_value = {};
return error_value;
}