aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `@(link_suffix=<string>)`gingerBill2024-05-301-2/+2
|
* Add shadow suggestiongingerBill2024-05-221-1/+5
|
* Fix `for &v in &fixed_array`gingerBill2024-05-201-1/+2
|
* Fix error reporting for enforce new switch/for syntaxgingerBill2024-05-161-2/+2
|
* Remove the old switch/for semantics entirely and enforce `switch &x in y`gingerBill2024-05-161-28/+2
|
* Fix #3587gingerBill2024-05-141-1/+28
|
* Attempt at fixing #3588gingerBill2024-05-141-0/+2
|
* Fix #3569gingerBill2024-05-131-1/+1
|
* Fix #3578gingerBill2024-05-131-17/+23
|
* Minor clean up of `is_terminating` codegingerBill2024-05-131-8/+19
| | | | This does not fix all known issues with it
* Fix #3522gingerBill2024-05-101-2/+32
|
* Disallow `for x in bitset_or_map` if `x` is a variable that matches the "key"gingerBill2024-04-271-0/+22
|
* Generalize Odin call-based "iterators" to work with more than 2-values: `for ↵gingerBill2024-04-271-14/+21
| | | | | | x, y, z, w in iterate(&it)` It has an artificial limitation of 100 values because if you need for than that, you're doing something wrong.
* Remove warning on clanggingerBill2024-04-121-2/+2
|
* Improve error messages for `switch` and `for` r-values with a suggestiongingerBill2024-04-121-0/+43
|
* Add `nil` checksgingerBill2024-04-111-2/+2
|
* Fix checker crash when `or_return`/`or_break`/`or_continue` used for ↵oskarnp2024-04-061-3/+3
| | | | non-existing proc
* Improve error messages for `A variable declaration must be an identifier`gingerBill2024-04-041-5/+22
|
* Error message when RTTI is disabled when iterating over an `enum` type or a ↵gingerBill2024-04-011-0/+6
| | | | `bit_set` of `enum` with `for in`
* Unify error message logic for ranges over `bit_set`gingerBill2024-04-011-9/+5
|
* Support `for in` with `bit_set`gingerBill2024-04-011-0/+13
|
* Add error block around `error_line` callsgingerBill2024-03-231-0/+5
|
* Ignore wrong typesgingerBill2024-03-231-1/+1
|
* Add some basic escape analysis errors for `return &x`gingerBill2024-03-231-51/+44
|
* Disallow `for x in y.(T)` and `for x in y.?`gingerBill2024-03-211-4/+7
|
* Fix error handling for type switch statementgingerBill2024-03-201-0/+2
|
* Fix #3301gingerBill2024-03-201-0/+2
|
* On `x: [?]T = {...}`, minimize errors by using the `[?]T` expression as a ↵gingerBill2024-03-191-5/+7
| | | | kind of hint
* Fix `for x in y` where `y` is an "optional ok" value, but ignores ↵gingerBill2024-03-181-1/+5
| | | | `#optional_allocator_error` values
* Fix #3282gingerBill2024-03-161-0/+4
|
* Fix #3284gingerBill2024-03-161-0/+6
|
* Add general support for `bit_field`sgingerBill2024-02-221-0/+10
|
* Improve foreign variable fuzzy type checkinggingerBill2024-01-281-1/+1
|
* Clean up error block usagegingerBill2024-01-051-4/+2
|
* Disallow direct return a compound literal of a slice with elementsgingerBill2023-10-131-0/+17
|
* Add `or_break` and `or_continue` constructsgingerBill2023-09-301-0/+5
|
* Fix #2817gingerBill2023-09-261-1/+1
|
* Fix `using` buggingerBill2023-08-071-1/+1
|
* Go through loads of `TODO`sgingerBill2023-08-011-6/+5
|
* Fix typogingerBill2023-07-311-1/+1
|
* Remove debug codegingerBill2023-07-311-1/+1
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-2/+2
| | | | where necessary
* Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flagsgingerBill2023-07-311-0/+6
|
* Fix #2615: can't iterate untyped stringLaytan Laats2023-07-021-1/+1
|
* Allow `switch &v in ...` work to be consistent with `for &e in ...`gingerBill2023-06-261-3/+17
|
* `for &e, i in array` and `for k, &v in map` (alternative to passing the ↵gingerBill2023-06-261-4/+29
| | | | iterable by pointer)
* Correct `check_call_arguments_new_and_improved` logicgingerBill2023-06-201-1/+7
|
* Fix #2578 (check for `fallthrough`)gingerBill2023-06-071-0/+4
|
* Support `#reverse` for stringsgingerBill2023-05-291-4/+5
|
* Improve error message for `#reverse` on an intervalgingerBill2023-05-291-2/+2
|