aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-10-29 13:59:11 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2024-10-29 13:59:11 +0100
commitb46b34228e01d7c85f01140529f083743aaa0e8f (patch)
tree8b961883625726dad96ea1a7ef7ecdb8157f7de4 /src/exact_value.cpp
parent28a3a68dc917cd066328f069a6faf969d51011fd (diff)
match_exact_value: return when type is compound
fixes #4431
Diffstat (limited to 'src/exact_value.cpp')
-rw-r--r--src/exact_value.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp
index 1a42a82a9..5d6016ecc 100644
--- a/src/exact_value.cpp
+++ b/src/exact_value.cpp
@@ -687,6 +687,7 @@ gb_internal void match_exact_values(ExactValue *x, ExactValue *y) {
case ExactValue_String:
case ExactValue_Quaternion:
case ExactValue_Pointer:
+ case ExactValue_Compound:
case ExactValue_Procedure:
case ExactValue_Typeid:
return;