Browse Source

match_exact_value: return when type is compound

fixes #4431
Jeroen van Rijn 9 months ago
parent
commit
b46b34228e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/exact_value.cpp

+ 1 - 0
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;