mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-24 14:45:00 -07:00
Fix issue #723
Typo in `check_stmt_internal` for case Ast_UsingStmt; first element was used for all elements of the enumerated list.
This commit is contained in:
+1
-1
@@ -1926,7 +1926,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
|
||||
return;
|
||||
}
|
||||
for_array(i, us->list) {
|
||||
Ast *expr = unparen_expr(us->list[0]);
|
||||
Ast *expr = unparen_expr(us->list[i]);
|
||||
Entity *e = nullptr;
|
||||
|
||||
bool is_selector = false;
|
||||
|
||||
Reference in New Issue
Block a user