| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Error if -no-thread-local is used in presence of -no-crt on Unix | flysand7 | 2025-01-17 | 1 | -13/+0 |
| | | |||||
| * | Added compile-time checks for thread locals with -no-crt | flysand7 | 2025-01-17 | 1 | -1/+14 |
| | | | | | | | | | Now using any thread-local variables with -no-crt enabled will cause a compiler error, unless -no-thread-local is given. Also fixed a minor typo in a comment. | ||||
| * | Merge pull request #4601 from Barinzaya/simd_vector_broadcasting | gingerBill | 2025-01-06 | 1 | -0/+20 |
| |\ | | | | | Implicit broadcasting for SIMD arrays | ||||
| | * | Added some implicit broadcasting for #simd arrays. | Barinzaya | 2024-12-19 | 1 | -0/+20 |
| | | | | | | | | | | | | | This covers broadcasting from untyped numbers when assigning, as well as when performing binary operations. SIMD intrinsics have not been adjusted | ||||
| * | | Make `-no-dynamic-literals` the default now | gingerBill | 2025-01-05 | 1 | -16/+21 |
| | | | |||||
| * | | Add `#+feature dynamic-literals` | gingerBill | 2025-01-05 | 1 | -2/+8 |
| | | | |||||
| * | | Add `#branch_location` | gingerBill | 2025-01-01 | 1 | -0/+12 |
| |/ | |||||
| * | Fix #4535 | gingerBill | 2024-12-02 | 1 | -1/+5 |
| | | |||||
| * | Fix assert when return value expected. | Jeroen van Rijn | 2024-11-28 | 1 | -2/+2 |
| | | |||||
| * | checker: only error with -vet-cast when it is actually castable | Laytan Laats | 2024-11-21 | 1 | -1/+4 |
| | | |||||
| * | Remove `#relative` types from the compiler | gingerBill | 2024-11-14 | 1 | -64/+0 |
| | | |||||
| * | Merge pull request #4394 from seventh-chord/errormessages | gingerBill | 2024-11-06 | 1 | -0/+9 |
| |\ | | | | | Suggestion when assigning enum to bit_set | ||||
| | * | Suggestion when assigning enum to bit_set | Morten Hauke Solvang | 2024-10-19 | 1 | -0/+9 |
| | | | |||||
| * | | Fix previous commit for arrays | gingerBill | 2024-11-04 | 1 | -10/+9 |
| | | | |||||
| * | | Fix bug for `foo().bar` where `foo()` is a 0-value expression | gingerBill | 2024-11-04 | 1 | -12/+16 |
| | | | |||||
| * | | Fix bug caused due to incorrect type checking looking for `context` not ↵ | gingerBill | 2024-10-27 | 1 | -0/+1 |
| |/ | | | | defined in a context | ||||
| * | Fix #4373 | gingerBill | 2024-10-13 | 1 | -2/+8 |
| | | |||||
| * | fix not erroring on invalid ternary | Laytan Laats | 2024-10-02 | 1 | -5/+0 |
| | | | | | | | | For example: `a: f32 = true ? 1 : len` would get to the back-end without errors. Fixes #1690 | ||||
| * | Forbid labelled or-branch expressions within `defer` | Feoramund | 2024-09-19 | 1 | -0/+4 |
| | | |||||
| * | add '#caller_expression' | Laytan Laats | 2024-09-14 | 1 | -1/+6 |
| | | |||||
| * | Add `Suggested Example` for using an inline procedure which enables a target ↵ | gingerBill | 2024-09-12 | 1 | -0/+3 |
| | | | | | feature | ||||
| * | fix reuse of slice for varargs with poly types | Laytan Laats | 2024-09-12 | 1 | -16/+17 |
| | | |||||
| * | Allow `transmute(Bit_Set)~T(0)` | gingerBill | 2024-09-11 | 1 | -1/+2 |
| | | |||||
| * | Fix #4229 for edge case `os.Error`/`os.Errno` legacy bodge | gingerBill | 2024-09-11 | 1 | -1/+1 |
| | | |||||
| * | Allow ExactValue_Invalid in assert.fix-4225 | Jeroen van Rijn | 2024-09-10 | 1 | -1/+1 |
| | | | | | Fixes #4225 | ||||
| * | Remove extra format item at end of `context` error message | Feoramund | 2024-09-01 | 1 | -1/+1 |
| | | |||||
| * | Fix `new(sync.Mutex)` | gingerBill | 2024-08-31 | 1 | -1/+1 |
| | | |||||
| * | Fix #4156 | gingerBill | 2024-08-31 | 1 | -1/+1 |
| | | |||||
| * | Make `~some_bit_set` work on only the possible bits by doing a mask with the ↵ | gingerBill | 2024-08-30 | 1 | -1/+85 |
| | | | | | full set | ||||
| * | Fix #4079 | gingerBill | 2024-08-24 | 1 | -4/+5 |
| | | |||||