match_exact_value: return when type is compound

fixes #4431
This commit is contained in:
Jeroen van Rijn
2024-10-29 13:59:11 +01:00
parent 28a3a68dc9
commit b46b34228e

View File

@@ -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;