aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-03-23 15:10:58 +0000
committerGitHub <noreply@github.com>2022-03-23 15:10:58 +0000
commit82f9cbecf8135dc8bbfe2fbeaf56f9784c67c7f1 (patch)
tree24e7219c99950a05427a1d944c70e769f6678bed /src/check_expr.cpp
parenta8ac59a6e7399bee1c8081a14439d8ec45eee9fa (diff)
parent10c58257159f8c8d046dd3cb93dde6b404414169 (diff)
Merge pull request #1649 from gitlost/maps_with_procedure_values_#829
Fix issue #829 "Compiler crashes when declaring maps with procedure"
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index b7039fd9a..66bf8bbd7 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -9000,6 +9000,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
o->mode = Addressing_Invalid;
o->type = t_invalid;
+ o->value = {ExactValue_Invalid};
switch (node->kind) {
default: