aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Error if missing map key typeJeroen van Rijn2024-08-171-0/+12
| | | | Fixes #4096
* fix `open` bindingsLaytan Laats2024-08-161-0/+15
| | | | | | | | | | `open` specifies the `mode` argument as vararg (presumably to make it optional). varargs actually have rules about casting, in this case the rule that any integer arg of size <= 4 has to be casted to `i32` before passing it. Not doing that implicit cast makes the permissions wrong or not apply at all.
* Fix 'odin [run|test] --' giving a compiler out of boundsFourteenBrush2024-08-141-2/+8
|
* Merge pull request #4012 from laytan/posixgingerBill2024-08-144-2/+43
|\ | | | | core:sys/posix and core:os/os2 based on it (for darwin, netbsd, freebsd and openbsd)
| * posix: add packageLaytan Laats2024-08-144-2/+43
| |
* | Fix doc writer bug caused by using an iterator rather than a for loopgingerBill2024-08-141-2/+14
| |
* | Allow `@(require_results)` on `foreign` blocksgingerBill2024-08-143-1/+14
| |
* | Merge pull request #2977 from jakubtomsu/disallow-variadic-param-defaultLaytan2024-08-141-0/+2
|\ \ | | | | | | Report error when a variadic procedure parameter has a default value
| * | Add nullptr check backjakubtomsu2023-11-251-1/+1
| | |
| * | Check for variadic param default valjakubtomsu2023-11-251-1/+3
| | |
* | | Error if assigning to `rodata` variable with indexDavi2024-08-131-1/+8
| |/ |/|
* | update MacOS releasesLaytan Laats2024-08-141-0/+2
| |
* | Merge pull request #4065 from laytan/fix-max-alignmentsgingerBill2024-08-131-21/+26
|\ \ | | | | | | fix max alignments
| * | fix max alignmentsLaytan Laats2024-08-121-21/+26
| | |
* | | Merge pull request #4069 from zen3ger/1738-aliased-procedure-resolutiongingerBill2024-08-132-1/+15
|\ \ \ | | | | | | | | Fix alias handling of procedures
| * | | Fix alias handling of proceduresRoland Kovacs2024-08-122-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An incorrect memmove when overriding entities caused multiple ones to point to the same procedure with incomplete variant data, resulting in later hiting a compiler assertion. Introduced delayed type checking for procedure aliases, as it was masked by the previous error in the override logic.
* | | | Merge pull request #4041 from zen3ger/1079-parametric-struct-from-other-packagegingerBill2024-08-131-0/+21
|\ \ \ \ | | | | | | | | | | Check if procedure parameter type declares polymorphic args
| * | | | Check if procedure parameter type declares polymorphic argsRoland Kovacs2024-08-081-0/+21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a procedure parameter's type was declared in an imported package the type checker correctly resolved to the parametric type, but it did not check if the expression that refers to that type conforms to a polymorphic type declaration. This error was not detected if the procedure was unused, since it was marked as polymorphic, where further type check is done on instantiation.
* | / / fix type hint propogation for shiftLaytan Laats2024-08-121-1/+1
| |/ / |/| | | | | | | | Fixes #3856
* | | Merge pull request #4058 from laytan/fix-cvararg-bitsetLaytan2024-08-123-9/+17
|\ \ \ | | | | | | | | fix c_vararg bit_set
| * | | fix c_vararg bit_setLaytan Laats2024-08-113-9/+17
| | | | | | | | | | | | | | | | Fixes #4051
* | | | fix type switching over internal pointer unionLaytan Laats2024-08-121-1/+1
|/ / / | | | | | | | | | Fixes #3947
* | | add clarity for diverging mismatch errorLaytan Laats2024-08-101-0/+18
| | |
* | | possibly fix init_core_type_info race conditionLaytan Laats2024-08-101-0/+3
|/ /
* | Delete empty file after access check.Jeroen van Rijn2024-08-071-3/+5
| |
* | Swap `reduce_any` and `reduce_all`Feoramund2024-08-061-2/+2
| | | | | | | | | | `llvm.vector.reduce.or` will return true if any lane is true. `llvm.vector.reduce.and` will return true if all lanes are true.
* | Fix crash if referencing import "aliased" in other file.Jeroen van Rijn2024-08-051-0/+8
| | | | | | | | Fixes #4026
* | Add `intrinsics.masked_expand_load` and `intrinsics.masked_compress_store`gingerBill2024-08-053-7/+38
| |
* | Remove dead codegingerBill2024-08-051-1/+0
| |
* | Add `intrinsics.simd_masked_load` and `intrinsics.simd_masked_store`gingerBill2024-08-054-26/+67
| |
* | Add `intrinsics.simd_gather` and ``intrinsics.simd_scatter`gingerBill2024-08-053-0/+106
| |
* | Rename `add_sat` -> `saturating_add`gingerBill2024-08-053-24/+24
| |
* | Add `simd_reduce_any` and `simd_reduce_all`gingerBill2024-08-053-0/+47
| |
* | Allow cast between `#simd[N]rawptr` <-> `#simd[N]uintptr`gingerBill2024-08-051-1/+5
| |
* | Allow `swizzle` to take more arguments than the original array lengthgingerBill2024-08-052-2/+2
| |
* | Add `#simd[N]rawptr` supportgingerBill2024-08-052-1/+4
| |
* | Just compare against `nil` directly if the comparator is known to be `nil` toogingerBill2024-08-041-0/+7
| |
* | Disallow `err != 0` with `os.Error` when `-strict-style` is enabledgingerBill2024-08-041-1/+2
| |
* | Hack: Convert `0` to `nil`gingerBill2024-08-041-1/+4
| |
* | `os.Errno` -> `os.Error`gingerBill2024-08-041-0/+1
| |
* | Use `union #shared_nil` for `os.Error`gingerBill2024-08-041-19/+16
| |
* | Begin converting `os.Errno` to be a `nil`-able type as a transition periodgingerBill2024-08-041-0/+21
| |
* | Improve output path checkingJeroen van Rijn2024-07-311-3/+8
| | | | | | | | Fixes #4001
* | fix for using .rc filesThomas la Cour2024-07-301-0/+1
| |
* | fix `specific_union_variant in map_keyed_by_union` not converting to union typeLaytan Laats2024-07-291-4/+6
| |
* | fix instrumentation features on LLVM versions with typed pointersLaytan Laats2024-07-241-1/+1
| | | | | | | | Fixes #3970
* | Propagate `rodata` a bit more in `lb_const_value`gingerBill2024-07-231-28/+36
| |
* | Fix #3964gingerBill2024-07-233-4/+9
| |
* | Check to see if people are return a slice of a local fixed array from a ↵gingerBill2024-07-221-1/+9
| | | | | | | | procedure
* | Add suggestion for #3961gingerBill2024-07-222-0/+39
| |