| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix an oversight for operators with more than 2 chars | Airtz | 2025-06-24 | 1 | -2/+1 |
| | | |||||
| * | Better error messages | Airtz | 2025-06-24 | 1 | -9/+11 |
| | | |||||
| * | Be strict with type switch case column alignment too | Feoramund | 2025-06-04 | 1 | -0/+14 |
| | | | | | | | This copies the same block used for regular switch cases. Fixes #4673 | ||||
| * | Fix #5228 | gingerBill | 2025-05-29 | 1 | -0/+1 |
| | | |||||
| * | CHECK 4 done | bogwi | 2025-05-05 | 1 | -0/+2 |
| | | | | | | | | | | | | | The original errors: 1. `5024.odin(127:15) Error: Invalid use of a polymorphic type 'List($T)' in variable declaration` 2. `5024.odin(129:17) Error: Cannot determine polymorphic type from parameter: 'invalid type' to 'List($T)'` Are gone. We now have a single, different error: `5024.odin(124:28) Error: Unspecialized polymorphic types are not allowed in procedure parameters, got List($T)` This error points directly to the `list : List($T)` parameter within the `List_Filter` procedure definition. This seems much more relevant to the actual problem (the interaction between the generic `List_Filter` and the concrete `default_filter`) than the original error about the variable declaration. While this new error message might not be exactly pinpointing the default parameter issue, it correctly identifies the problematic procedure definition (`List_Filter`) as the source of the error, rather than the variable declaration (`my_list`). This seems like a step in the right direction for improving the error reporting for this kind of scenario. | ||||
| * | Add trivial sanity check for assigning to return values within `defer` #5011 | gingerBill | 2025-04-07 | 1 | -0/+41 |
| | | |||||
| * | Use `TypeSet` instead of `PtrSet<Type *>` | gingerBill | 2025-02-20 | 1 | -4/+4 |
| | | |||||
| * | `#unroll(N) for` | gingerBill | 2025-01-10 | 1 | -6/+59 |
| | | |||||
| * | Fix #4552 | gingerBill | 2024-12-05 | 1 | -0/+1 |
| | | |||||
| * | Fix #4561 | gingerBill | 2024-12-05 | 1 | -0/+1 |
| | | |||||
| * | Add warning for `unsigned >= 0` like conditions in a `for` loop | gingerBill | 2024-10-30 | 1 | -0/+17 |
| | | |||||
| * | Fix minor bug with addressability | gingerBill | 2024-09-17 | 1 | -4/+14 |
| | | |||||
| * | Fix #4132 | gingerBill | 2024-08-24 | 1 | -1/+2 |
| | | |||||
| * | Disallow labelled branches in `defer` - fix #3960 | gingerBill | 2024-08-24 | 1 | -0/+8 |
| | | |||||
| * | Fix #3999 | gingerBill | 2024-08-18 | 1 | -1/+2 |
| | | |||||
| * | Fix #4005 | gingerBill | 2024-08-18 | 1 | -1/+5 |
| | | |||||
| * | Fix #4022 | gingerBill | 2024-08-18 | 1 | -1/+1 |
| | | |||||
| * | Fix #4040 | gingerBill | 2024-08-18 | 1 | -0/+10 |
| | | |||||
| * | Error if assigning to `rodata` variable with index | Davi | 2024-08-13 | 1 | -1/+8 |
| | | |||||
| * | Check to see if people are return a slice of a local fixed array from a ↵ | gingerBill | 2024-07-22 | 1 | -1/+9 |
| | | | | | procedure | ||||
| * | Add NULL check in check_range_stmt | Jeroen van Rijn | 2024-07-21 | 1 | -1/+1 |
| | | | | | Fixes #3953 | ||||
| * | Fix compiler crash when switching on no value | Feoramund | 2024-07-14 | 1 | -0/+3 |
| | | |||||
| * | Improve warning handling for possible `default:` typo | gingerBill | 2024-07-10 | 1 | -0/+6 |
| | | |||||
| * | `-strict-style`: enforce `case` to be in the same column as `switch` | gingerBill | 2024-06-29 | 1 | -0/+14 |
| | | |||||
| * | Add `intrinsics.procedure_of` | gingerBill | 2024-06-10 | 1 | -1/+9 |
| | | | | | | | | | ```odin foo :: proc(x: $T) { fmt.println(x) } bar :: intrinsics.procedure_of(foo(int(123))) // parameters are never ran at compile time, similar to `size_of` bar(333) // prints 333 ``` | ||||
| * | Add error message on return a constant slice value from a procedure | gingerBill | 2024-06-08 | 1 | -0/+4 |
| | | |||||
| * | Remove empty line preventing a suggestion from happening | gingerBill | 2024-06-08 | 1 | -2/+0 |
| | | |||||
| * | Allow `@(rodata)` on `@(static)` variables | gingerBill | 2024-06-06 | 1 | -1/+5 |
| | | |||||
| * | Add `@(rodata)` | gingerBill | 2024-06-06 | 1 | -0/+6 |
| | | |||||
| * | Add `@(link_suffix=<string>)` | gingerBill | 2024-05-30 | 1 | -2/+2 |
| | | |||||
| * | Add shadow suggestion | gingerBill | 2024-05-22 | 1 | -1/+5 |
| | | |||||
| * | Fix `for &v in &fixed_array` | gingerBill | 2024-05-20 | 1 | -1/+2 |
| | | |||||
| * | Fix error reporting for enforce new switch/for syntax | gingerBill | 2024-05-16 | 1 | -2/+2 |
| | | |||||
| * | Remove the old switch/for semantics entirely and enforce `switch &x in y` | gingerBill | 2024-05-16 | 1 | -28/+2 |
| | | |||||
| * | Fix #3587 | gingerBill | 2024-05-14 | 1 | -1/+28 |
| | | |||||
| * | Attempt at fixing #3588 | gingerBill | 2024-05-14 | 1 | -0/+2 |
| | | |||||
| * | Fix #3569 | gingerBill | 2024-05-13 | 1 | -1/+1 |
| | | |||||
| * | Fix #3578 | gingerBill | 2024-05-13 | 1 | -17/+23 |
| | | |||||
| * | Minor clean up of `is_terminating` code | gingerBill | 2024-05-13 | 1 | -8/+19 |
| | | | | | This does not fix all known issues with it | ||||
| * | Fix #3522 | gingerBill | 2024-05-10 | 1 | -2/+32 |
| | | |||||
| * | Disallow `for x in bitset_or_map` if `x` is a variable that matches the "key" | gingerBill | 2024-04-27 | 1 | -0/+22 |
| | | |||||
| * | Generalize Odin call-based "iterators" to work with more than 2-values: `for ↵ | gingerBill | 2024-04-27 | 1 | -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 clang | gingerBill | 2024-04-12 | 1 | -2/+2 |
| | | |||||
| * | Improve error messages for `switch` and `for` r-values with a suggestion | gingerBill | 2024-04-12 | 1 | -0/+43 |
| | | |||||
| * | Add `nil` checks | gingerBill | 2024-04-11 | 1 | -2/+2 |
| | | |||||
| * | Fix checker crash when `or_return`/`or_break`/`or_continue` used for ↵ | oskarnp | 2024-04-06 | 1 | -3/+3 |
| | | | | | non-existing proc | ||||
| * | Improve error messages for `A variable declaration must be an identifier` | gingerBill | 2024-04-04 | 1 | -5/+22 |
| | | |||||
| * | Error message when RTTI is disabled when iterating over an `enum` type or a ↵ | gingerBill | 2024-04-01 | 1 | -0/+6 |
| | | | | | `bit_set` of `enum` with `for in` | ||||
| * | Unify error message logic for ranges over `bit_set` | gingerBill | 2024-04-01 | 1 | -9/+5 |
| | | |||||
| * | Support `for in` with `bit_set` | gingerBill | 2024-04-01 | 1 | -0/+13 |
| | | |||||