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:
Joseph Battelle
2020-09-14 16:41:53 -07:00
parent d53725fe14
commit e9c598a426
+1 -1
View File
@@ -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;