mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-18 00:41:26 -07:00
Add suggestions to errors on casts and assignments.
This commit is contained in:
+2
-1
@@ -1366,7 +1366,8 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
|
||||
isize rhs_count = rhs_operands.count;
|
||||
for_array(i, rhs_operands) {
|
||||
if (rhs_operands[i].mode == Addressing_Invalid) {
|
||||
rhs_count--;
|
||||
// TODO(bill): Should I ignore invalid parameters?
|
||||
// rhs_count--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user