diff options
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 77b370619..9d840b0d1 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -1548,7 +1548,7 @@ i64 check_array_count(CheckerContext *ctx, Operand *o, Ast *e) { return 0; } if (e->kind == Ast_UnaryExpr && - e->UnaryExpr.op.kind == Token_Ellipsis) { + e->UnaryExpr.op.kind == Token_Question) { return -1; } |