diff options
| author | gingerBill <bill@gingerbill.org> | 2018-08-01 21:34:59 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-08-01 21:34:59 +0100 |
| commit | 0718f14774c152b84edb747c03ca53b9400407b9 (patch) | |
| tree | af1c16de9e6aa15bd023cb9d0ac3290c0cc229e8 /src/check_type.cpp | |
| parent | a6fe656f21863d578c1c408f158ed5bc567a8f23 (diff) | |
Reduce number of range and slice operators #239
Replace .. and ... with : and ..
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; } |