30 Nov
2023
30 Nov
'23
2:01 p.m.
Jacek Caban (@jacek) commented about dlls/vbscript/compile.c:
if (expr->obj_expr) /* FIXME: we should probably have a dedicated opcode as well */ return compile_member_call_expression(ctx, expr, 0, TRUE);
- const_expr = lookup_const_decls(ctx, expr->identifier, TRUE); - if(const_expr) - return compile_expression(ctx, const_expr); - + if (!lookup_args_name(ctx, expr->identifier)) {
Please don't use tab here. Also, while you're at it, we should check `lookup_dim_decls()` as well, see the [attached test](/uploads/dfd20e6064fdf258b2ad278d21b79c2e/test.diff). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4548#note_54396