misomosi
a2a0b83162
Allow casts to change mode for array programming
2026-07-01 07:59:08 -04:00
gingerBill
e276ce552b
Merge pull request #6908 from tf2spi/6884-emit-tuple-c-varargs
...
Use lb_add_values_to_array for cvarargs
2026-06-30 12:33:27 +01:00
gingerBill
62511914de
When inserting a constant union into a struct literal, rebuild the struct to be non-named with llvm_const_insert_value_with_rebuild
2026-06-30 12:16:21 +01:00
gingerBill
28a43fd4f7
Short-circuit further for constant unions in the LLVM constant literal syntax
2026-06-30 11:49:35 +01:00
gingerBill
d0847b7ce8
Merge pull request #6913 from tf2spi/6831-add-constant-type-checks
...
Add more constant type cases
2026-06-30 11:29:26 +01:00
misomosi
c8aa151a66
Add more constant type cases
2026-06-29 22:46:17 -04:00
gingerBill
47fa8df598
Fix comment
2026-06-29 17:01:44 +01:00
gingerBill
ac6a0f9a40
Move around the ordering of find_visual_studio_and_windows_sdk
2026-06-29 16:36:21 +01:00
gingerBill
1cdf314015
Remove debug print string
2026-06-29 16:04:24 +01:00
misomosi
12e8ba8d66
Use lb_add_values_to_array for cvarargs
2026-06-29 10:01:50 -04:00
gingerBill
cec2127068
Merge pull request #6906 from tf2spi/6902-off-by-one
...
Report range type correctly on out-of-bounds
2026-06-29 13:51:09 +01:00
gingerBill
37c349e604
Fix #6907
2026-06-29 13:47:46 +01:00
misomosi
fc62110392
Report range type correctly on out-of-bounds
2026-06-29 08:29:14 -04:00
gingerBill
e24bbb813c
Merge branch 'master' into bill/constant-union-fixes
2026-06-29 13:02:12 +01:00
gingerBill
b9a9846b7c
Fix constant union stuff against tests
2026-06-29 13:00:44 +01:00
gingerBill
42f681baff
Revert some of the union changes
2026-06-29 12:18:40 +01:00
gingerBill
2f3174fe10
Fix llvm_const_cast with constant union literals
2026-06-29 11:41:27 +01:00
gingerBill
feb9b6159e
Fix pkg.Constant.field union access
2026-06-29 11:06:34 +01:00
gingerBill
138748c24a
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-06-29 10:49:47 +01:00
gingerBill
e227c736e6
Fix #6786
2026-06-29 10:49:29 +01:00
gingerBill
6fae6827cc
Merge pull request #6904 from tf2spi/6889-count-bits
...
Resolve panic on 64-bit overflow
2026-06-29 10:30:00 +01:00
gingerBill
6e65b5e4bc
Allow for more "constantable" union values
2026-06-29 00:55:07 +01:00
misomosi
5be99bf1c2
Add missing check_is_expressible
2026-06-28 19:25:22 -04:00
misomosi
85c2aaf0a4
Use libtommath API for counting bits
2026-06-28 19:25:02 -04:00
gingerBill
7da5608121
Add _append_elem_ptr to optimize for append when the element is internally pointer-like
2026-06-28 13:31:49 +01:00
gingerBill
910ddb4626
Check for nullptr when none of the options match in a proc group
2026-06-26 15:09:18 +01:00
gingerBill
7aff98a150
Fix procedure_of(x)
2026-06-26 15:07:54 +01:00
korvahkh
0aa6d8f318
Fix #6885
...
Broadcasting `field = value` compound literals
would assert.
This is because we were checking for a
`field = value` compound before checking
if the types matched, and thus could broadcast.
2026-06-24 16:28:02 -05:00
gingerBill
6fdaedf182
Fix indentation
2026-06-24 14:05:35 +01:00
gingerBill
5c48d91f8e
And missing command line flag information
2026-06-24 13:44:49 +01:00
gingerBill
40e54a97ed
Merge branch 'master' into bill/bedrock
2026-06-24 11:07:02 +01:00
gingerBill
ade003e128
Allow for -> (#simd[N]T) style return types
2026-06-24 10:51:28 +01:00
gingerBill
078664a5c2
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-06-24 10:38:31 +01:00
gingerBill
f602a6acd7
Fix #6725 #6798 #4943
2026-06-24 10:38:21 +01:00
gingerBill
b1e9d83ea2
Merge pull request #6880 from RoBaertschi/master
...
Fix #6874
2026-06-24 10:36:20 +01:00
gingerBill
55b63099a8
Fix constant x %% y evaluation
2026-06-24 10:35:36 +01:00
Bärtschi Robin
3883d079c8
Fix #6874
2026-06-24 08:04:17 +02:00
gingerBill
07fee34419
Allow for both odin command path -flags and odin command -flags path
...
To do this, if the first argument after the command and last argument is NOT a flag, then put that last parameter first.
2026-06-23 17:27:17 +01:00
gingerBill
5ba39f42ea
Improve error message on calls with varying argument count
2026-06-23 11:49:00 +01:00
gingerBill
8397c83560
Merge pull request #5508 from Paul-Andre/print-errors-before-assert
...
Flush accumulated errors before printing assert
2026-06-23 11:41:48 +01:00
gingerBill
3bbeecea41
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-06-22 15:41:52 +01:00
gingerBill
d16a37e649
Add warning to help very large return values (partially fixes #6568 )
2026-06-22 15:41:43 +01:00
Jeroen van Rijn
6bae6eb3f1
Clarify "it"
2026-06-22 15:46:02 +02:00
Jeroen van Rijn
8148b04a6c
Add missing word.
2026-06-22 15:44:11 +02:00
Jeroen van Rijn
778d3b97b6
Add comment to odin root about why there's no newline
...
Add comment to `odin root` about why there's no newline, and why we closed #6834 and #6871 .
Future such pull requests will be closed without comment.
2026-06-22 15:40:21 +02:00
gingerBill
6cf57c1eaa
Fix #6863
2026-06-22 13:17:43 +01:00
gingerBill
3834aeec49
Compiler: Improve error propagation when all of the overloads have the same return values
2026-06-22 12:56:25 +01:00
gingerBill
2aea1d13f1
Improve lb_copy_bits
2026-06-22 12:55:50 +01:00
gingerBill
8971e0f1ec
Fix shifting buf in lb_copy_bits
2026-06-22 12:55:45 +01:00
gingerBill
588a8148f2
Remove the now defunct __write_bits and __read_bits
2026-06-22 12:55:33 +01:00