mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-23 14:22:21 -08:00
adjust list lens member picking rules - use default argument, then fall back to next, prev, or the first pointer to an identical type
This commit is contained in:
1 parent
a2522c00fa
commit
8dbfa97c71
7 files changed
+90
-18
No files matched your search
+1
-6
@@ -2422,12 +2422,7 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, E_I
|
||||
}
|
||||
if(irext != 0 && result.user_data == 0)
|
||||
{
|
||||
E_IRTreeAndType irtree_stripped = result;
|
||||
if(type->kind == E_TypeKind_Lens)
|
||||
{
|
||||
irtree_stripped.type_key = e_type_key_direct(irtree_stripped.type_key);
|
||||
}
|
||||
E_IRExt ext = irext(arena, expr, &irtree_stripped);
|
||||
E_IRExt ext = irext(arena, expr, &result);
|
||||
result.user_data = ext.user_data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user