diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-06-21 00:05:15 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-06-21 00:05:15 +0200 |
| commit | 7abd86c2110ac9973ea9d8445d20e24c960a6ab9 (patch) | |
| tree | 696be2e656aa849edb5250e7e8ad6e52756c0414 /src | |
| parent | 62c5805c914785c9d8ee39c77ffd19b75d30de61 (diff) | |
Clarify --- for global variable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 335b82f1a..fcdabedde 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -11090,7 +11090,7 @@ gb_internal ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast case_ast_node(u, Uninit, node); o->mode = Addressing_Value; o->type = t_untyped_uninit; - error(node, "Use of --- outside of variable declaration"); + error(node, "Global variables will always be zeroed if left unassigned, --- is disallowed"); case_end; |