mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
eval compiler: read through type modifiers in member access path
This commit is contained in:
@@ -889,6 +889,7 @@ eval_irtree_and_type_from_expr(Arena *arena, TG_Graph *graph, RADDBG_Parsed *rdb
|
||||
TG_Kind check_type_kind = l_restype_kind;
|
||||
if (l_restype_kind == TG_Kind_Ptr || l_restype_kind == TG_Kind_LRef || l_restype_kind == TG_Kind_RRef){
|
||||
check_type_key = tg_direct_from_graph_raddbg_key(graph, rdbg, l_restype);
|
||||
check_type_key = eval_type_unwrap(graph, rdbg, check_type_key);
|
||||
check_type_kind = tg_kind_from_key(check_type_key);
|
||||
}
|
||||
|
||||
|
||||
@@ -355,6 +355,8 @@ type_coverage_eval_tests(void){
|
||||
Has_A_Post_Forward_Reference r2 = {0};
|
||||
|
||||
Basics &basics_ref = basics;
|
||||
const Basics *basics_const_ptr = &basics;
|
||||
const Basics &basics_const_ref = basics;
|
||||
|
||||
union
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user