aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Support `#reverse` on `#soa` arraysgingerBill2023-05-291-4/+0
|
* Basic support for `#reverse for in` on normal arraysgingerBill2023-05-291-0/+21
|
* Restrict `---` to variable declarations onlygingerBill2023-05-221-1/+1
|
* Fix #2526gingerBill2023-05-181-0/+6
|
* Add `struct #no_copy`gingerBill2023-04-151-1/+3
|
* Allow `case nil` within a type switch statement (experimental idea)gingerBill2023-03-121-2/+26
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2023-02-221-1/+0
|\
| * Remove debug printTetralux2023-02-221-1/+0
| |
* | Improve error bounds for `check_comparison`gingerBill2023-02-221-4/+4
|/
* Fix bug with for in statements and pointer intervalsgingerBill2023-02-211-2/+2
|
* Improve error message for accidentally using a type as an expression statementgingerBill2023-02-211-1/+1
|
* Separate `check_stmt` code into separate proceduresgingerBill2023-02-011-271/+288
|
* Correct `arena_temp_end` usage when no allocation ever happens for that arenagingerBill2023-01-281-490/+499
|
* Add extra `add_type_info_type` callsgingerBill2023-01-231-2/+2
|
* Minimize `StringMap` structure usagegingerBill2023-01-141-2/+2
|
* Add `ArenaTemp` to the compilergingerBill2023-01-121-0/+7
|