fix member lookup rules in new eval ir tree builder

This commit is contained in:
Ryan Fleury
2024-08-07 08:22:22 -07:00
parent fee31daa55
commit 607442b92a
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ e_irtree_and_type_from_expr(Arena *arena, E_Expr *expr)
l_restype_kind == E_TypeKind_LRef ||
l_restype_kind == E_TypeKind_RRef)
{
check_type_key = e_type_unwrap(l_restype);
check_type_key = e_type_unwrap(e_type_direct_from_key(e_type_unwrap(l_restype)));
check_type_kind = e_type_kind_from_key(check_type_key);
}
e_msg_list_concat_in_place(&result.msgs, &l.msgs);