| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'master' into bill/utf16-strings | gingerBill | 2025-08-05 | 1 | -1/+1 |
| |\ | |||||
| | * | Add `intrinsics.type_is_nearly_simple_compare` | gingerBill | 2025-08-04 | 1 | -1/+1 |
| | | | |||||
| * | | `for in string16`; Support `string16` across core | gingerBill | 2025-08-02 | 1 | -1/+1 |
| | | | |||||
| * | | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 1 | -7/+35 |
| | | | |||||
| * | | Add `string16` and `cstring16` (UTF-16 based strings) | gingerBill | 2025-08-02 | 1 | -0/+88 |
| |/ | |||||
| * | Remove the semantics of `#no_copy`, keep the grammar | gingerBill | 2025-07-30 | 1 | -23/+0 |
| | | |||||
| * | Fix issue 5474 | Paul-Andre Henegar | 2025-07-28 | 1 | -39/+35 |
| | | | | | | | | | The fix was adding `is_constant = false;` I also removed the unnecessary check regarding the first element of the BitSet, since it's checked inside the loop, and also fixed a typo in the message. | ||||
| * | Merge pull request #5081 from Lperlind/vet-explicit-allocators | gingerBill | 2025-07-22 | 1 | -7/+30 |
| |\ | | | | | Add -vet-explicit-allocators | ||||
| | * | Add -vet-explicit-allocators | Lucas Perlind | 2025-04-27 | 1 | -7/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This vet flag will make it so that allocators must be explicitly used in places where context.allocator and context.temp_allocator are a procedure parameter. The goal of this flag is to prevent using the context.allocator in cases where a different allocator was meant to be used. Some code bases default context.allocator to nil/panic allocator to catch this at runtime. This effectively makes it a compile time error instead. | ||||
| * | | [source-code-locations] - added options to show, obfuscate, and hide source ↵ | Hayden Gray | 2025-06-26 | 1 | -4/+42 |
| | | | | | | | | | code locations (#5412) | ||||
| * | | fix load type panic because front-end allows a deref of a type | Laytan Laats | 2025-06-26 | 1 | -0/+7 |
| | | | | | | | | | Fixes #5357 | ||||
| * | | Better error messages | Airtz | 2025-06-24 | 1 | -7/+7 |
| | | | |||||
| * | | Better proc groups inference | Airtz | 2025-06-23 | 1 | -25/+39 |
| | | | |||||
| * | | Merge branch 'odin-lang:master' into fix-4445 | Airtz | 2025-06-22 | 1 | -82/+62 |
| |\ \ | |||||
| | * \ | Merge pull request #5368 from Airtz/master | Jeroen van Rijn | 2025-06-22 | 1 | -82/+62 |
| | |\ \ | | | | | | | | | Fix #5331 and `check_shift` improvements | ||||
| | | * | | sign check error message update | Airtz | 2025-06-22 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | `check_is_expressible` instead of `convert_to_typed` when there is no ↵ | Airtz | 2025-06-20 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | `type_hint` | ||||
| | | * | | Update check_expr.cpp | Airtz | 2025-06-20 | 1 | -82/+63 |
| | | | | | |||||
| * | | | | Fix #4445 | Airtz | 2025-06-22 | 1 | -19/+26 |
| |/ / / | |||||
| * / / | Clarify --- for global variable. | Jeroen van Rijn | 2025-06-21 | 1 | -1/+1 |
| |/ / | |||||
| * | | Guard against invalid proc types in parameter list | Feoramund | 2025-06-10 | 1 | -1/+4 |
| | | | | | | | | | Fixes #4362 | ||||
| * | | Add support for `#soa[N]T` compound literals | gingerBill | 2025-06-04 | 1 | -77/+107 |
| | | | |||||
| * | | Merge pull request #5261 from spiel0meister/master | Jeroen van Rijn | 2025-06-03 | 1 | -0/+3 |
| |\ \ | | | | | | | add a missing nullptr check | ||||
| | * | | early return; fix indentation | spiel0meister | 2025-06-03 | 1 | -7/+8 |
| | | | | |||||
| | * | | check if expr is null | spiel0meister | 2025-06-02 | 1 | -5/+7 |
| | | | | |||||
| * | | | Merge pull request #5264 from ↵ | Jeroen van Rijn | 2025-06-03 | 1 | -37/+6 |
| |\ \ \ | | | | | | | | | | | | | | | | | LeandroLibanio28H/5243-fix-scope-attribute-proc-grouping Fix scope attribute proc grouping (#5243 ) | ||||
| | * | | | Update check_expr.cpp | Leandro Libanio | 2025-06-03 | 1 | -2/+0 |
| | | | | | | | | | | | | | Removing iostream | ||||
| | * | | | Removing unreacheable block (since e86fde3) | LeandroLibanio28H | 2025-06-02 | 1 | -31/+0 |
| | | | | | |||||
| | * | | | Checking if entity is exported before checking if it's a procedure group | LeandroLibanio28H | 2025-06-02 | 1 | -10/+12 |
| | |/ / | |||||
| * / / | Fix #5265 | Jeroen van Rijn | 2025-06-03 | 1 | -52/+57 |
| |/ / | |||||
| * | | Add suggestions for `quaternionN` or `complexN` conversions | Feoramund | 2025-05-31 | 1 | -1/+21 |
| | | | | | | | | | | | | | | | Quaternions and complex numbers are constructed with `quaternion` and `complex`, but their types are of the `*N` form. These suggestions should point the user in the right direction. | ||||
| * | | Add `Suggestion: 'context = runtime.default_context()'` | gingerBill | 2025-05-24 | 1 | -0/+2 |
| | | | |||||
| * | | Remove now unnecessary checks. | Jeroen van Rijn | 2025-05-21 | 1 | -6/+2 |
| | | | |||||
| * | | Fix #5177 - Tweak error messages. | Jeroen van Rijn | 2025-05-21 | 1 | -0/+10 |
| | | | |||||
| * | | -dynamic-literals | Jeroen van Rijn | 2025-05-19 | 1 | -1/+1 |
| | | | |||||
| * | | CHECK 3 done | bogwi | 2025-05-05 | 1 | -9/+29 |
| | | | | | | | | | | | | | | | | | Enhance support for polymorphic procedures in type checking 1. In src/check_type.cpp, added special handling for polymorphic procedures used as default parameter values. We now allow a polymorphic procedure to be used as a default parameter value, even when its type parameters can't be immediately determined. 2. In src/check_expr.cpp, we modified the check_is_assignable_to_with_score function to handle the special case of assigning a polymorphic procedure as a default parameter. The function now allows a polymorphic procedure to be assigned to a concrete procedure type in this specific context. | ||||
| * | | Clarify error messages for types that aren't simply comparable. | Jeroen van Rijn | 2025-05-03 | 1 | -5/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it implied that these are different types: ``` W:/Scratch/scratch.odin(17:5) Error: Cannot compare expression, operator '==' not defined between the types 'Handle_Map($T=u32, $HT=u32, $Max=10000)' and 'Handle_Map($T=u32, $HT=u32, $Max=10000)' if m == {} { ^~~~~~^ ``` Now: ``` W:/Scratch/scratch.odin(20:5) Error: Cannot compare expression. Type 'Handle_Map($T=u32, $HT=u32, $Max=10000)' is not simply comparable, so operator '==' is not defined for it. if m == {} { ^~~~~~^ ``` | ||||
| * | | Fix #5107 | Jeroen van Rijn | 2025-05-03 | 1 | -1/+1 |
| | | | | | | | | | Fixes #5107 by checking whether `result_count` is non-zero before indexing `type->Proc.results->Tuple.variables`. | ||||
| * | | fixes assigning null as a type if it's an alias but the base type isn't ↵ | Laytan Laats | 2025-04-30 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | resolved yet It's a bit of a band aid fix because the field will get the type of the alias, not the base type, but that was already the case before #5045 so it's forward progression. Closes #5092 Fixes #5061 | ||||
| * | | All N-valued (N>=2) expressions in `or_else` expressions | gingerBill | 2025-04-29 | 1 | -1/+13 |
| |/ | |||||
| * | Improve `or_else` type inference logic | gingerBill | 2025-03-27 | 1 | -6/+7 |
| | | |||||
| * | Fix #3955 | gingerBill | 2025-03-07 | 1 | -0/+5 |
| | | |||||
| * | Fix #4244 | gingerBill | 2025-03-07 | 1 | -2/+1 |
| | | |||||
| * | Fix #4909 | gingerBill | 2025-03-06 | 1 | -0/+5 |
| | | |||||
| * | Fixed `~` on `bit_set[Some_Enum]` altering the definition of the enum. | Barinzaya | 2025-03-02 | 1 | -3/+2 |
| | | | | | | This was occurring for enums whose minimum values were greater than zero. | ||||
| * | Allow indirection for swizzling on procedure parameters | gingerBill | 2025-02-21 | 1 | -0/+5 |
| | | |||||
| * | Work on making name mangling deterministic | gingerBill | 2025-02-17 | 1 | -1/+1 |
| | | |||||
| * | Remove transmute suggestion with `-vet-cast` when transmuting native <-> ↵ | gingerBill | 2025-02-05 | 1 | -1/+2 |
| | | | | | endian-specific types | ||||
| * | Fix #4750 | gingerBill | 2025-01-31 | 1 | -1/+3 |
| | | |||||
| * | fix inverted error messages | David Rubin | 2025-01-18 | 1 | -4/+4 |
| | | |||||