hack in quick fix for overambitious type pattern matching - will do a better pass shortly...

This commit is contained in:
Ryan Fleury committed 2025-05-22 12:29:56 -07:00
1 parent 4aeadc12b7
commit 914273d5af
2 files changed
+23

No files matched your search

+5
View File
@@ -1090,6 +1090,11 @@ e_auto_hook_exprs_from_type_key(Arena *arena, E_TypeKey type_key)
break;
}
scan_pos = pattern_part_pos + n->string.size;
if(n->next == 0 && scan_pos < type_string.size)
{
fits_this_type_string = 0;
break;
}
}
if(fits_this_type_string)
{