mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-08 14:58:08 +00:00
prefer primary module, or modules with space matching the primary module's, when doing top-level debug info name matching in eval
This commit is contained in:
@@ -1920,9 +1920,13 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, E_I
|
||||
{
|
||||
module = &e_base_ctx->modules[idx];
|
||||
dbgi_idx = (U32)idx;
|
||||
if(module == e_base_ctx->primary_module ||
|
||||
e_space_match(module->space, e_base_ctx->primary_module->space))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// rjf: form result
|
||||
if(match.idx != 0 && module != &e_module_nil)
|
||||
|
||||
Reference in New Issue
Block a user