allow . and -> for array types

This commit is contained in:
Ryan Fleury
2025-10-20 16:28:07 -07:00
parent c921645043
commit 2ad3e5b1cf
+2 -1
View File
@@ -389,7 +389,8 @@ E_TYPE_ACCESS_FUNCTION_DEF(default)
E_TypeKind check_type_kind = l_restype_kind;
if(l_restype_kind == E_TypeKind_Ptr ||
l_restype_kind == E_TypeKind_LRef ||
l_restype_kind == E_TypeKind_RRef)
l_restype_kind == E_TypeKind_RRef ||
l_restype_kind == E_TypeKind_Array)
{
check_type_key = e_type_key_unwrap(l.type_key, E_TypeUnwrapFlag_All);
check_type_kind = e_type_kind_from_key(check_type_key);