diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-17 19:47:04 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-17 19:47:04 +0100 |
| commit | 68582c5ad1b2bf562242b9d2f40c89efad343b66 (patch) | |
| tree | 17de290db1fd5ea483f1c06a4ddf776c78b9bcfb /src/check_stmt.cpp | |
| parent | da3467c25f72bdd04a03e7db0924ba29b33cc593 (diff) | |
Add suggestions to errors on casts and assignments.
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 6945fb00e..9163fadc2 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -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--; } } |