match_exact_value: return when type is compound

fixes #4431
This commit is contained in:
Jeroen van Rijn authored and flysand7 committed 2024-12-01 11:54:51 +11:00
1 parent d9326ae93d
commit c9c237babf
1 file changed
+1
+1
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;