gingerBill
385230d8d4
Merge pull request #6935 from tf2spi/add-proc-name-canonicalization-cases
...
Add diverging, optional_ok to proc canon name
2026-07-03 13:07:43 +01:00
gingerBill
55a1876d5b
Merge pull request #6934 from tf2spi/6675-patch-load-or-else-diverging
...
Make diverging or_else inherit load lhs type
2026-07-03 13:07:19 +01:00
gingerBill
328f511576
Merge pull request #6939 from tf2spi/6832-no-code-regen
...
Avoid code regeneration for fns in unroll
2026-07-03 13:06:56 +01:00
misomosi
ee1cad0fcc
Avoid code regeneration for fns in unroll
2026-07-03 00:46:17 -04:00
misomosi
90a1a9b54d
Add diverging, optional_ok to proc canon name
2026-07-02 13:36:14 -04:00
misomosi
aa53466cb6
Make diverging or_else inherit lhs type
2026-07-02 13:22:03 -04:00
gingerBill
1007ea2785
Merge pull request #6921 from tf2spi/6757-array-programming-cast
...
Allow casts to change mode for array programming
2026-07-02 14:06:50 +01:00
gingerBill
dadcfafb7d
Merge pull request #6925 from tf2spi/6923-check-untyped-to-union-conversion
...
Make checking of untyped to union conversions more strict
2026-07-02 14:01:41 +01:00
gingerBill
c9f069be20
Merge pull request #6929 from korvahkh/fix-union-typo
...
Fix typo in union error: excepts -> accepts
2026-07-02 14:01:07 +01:00
gingerBill
9653137a74
Merge pull request #6931 from thetarnav/remove-handle-map-builtin-import
...
Remove unused `base:builtin` import from `core:container/handle_map`
2026-07-02 14:00:46 +01:00
Jeroen van Rijn
e4cfd9221b
Merge pull request #6932 from Kelimion/improve_out
...
Improve custom output location for LLVM-IR, OBJ + ASM
2026-07-02 14:43:02 +02:00
Jeroen van Rijn
03652d7423
Improve custom output location for LLVM-IR, OBJ + ASM
...
Fixes #6926 .
If `build` is a subdirectory in the current directory, then `odin build . -out:build` will place `.S`, `.obj` and `.ll` files there if the corresponding `-build-mode` is given.
2026-07-02 14:19:56 +02:00
thetarnav
76902f5bfb
Remove unused "base:builtin" import from "core:container/handle_map"
2026-07-02 13:18:35 +02:00
Jeroen van Rijn
eee06be76f
Merge pull request #6930 from JoltedJon/utf8-decode-fix
...
Fix UTF-8 decode error check
2026-07-02 12:03:26 +02:00
Jeroen van Rijn
d5c4cd6e8f
Merge pull request #6900 from MauriceElliott/maurice/playdate_support
...
Playdate Support
2026-07-02 12:00:58 +02:00
Jeroen van Rijn
4bc9750373
Fix #6843
2026-07-02 11:05:53 +02:00
JoltedJon
9cc180f0ec
Fix UTF-8 decode error check
2026-07-01 22:54:48 -04:00
korvahkh
fdb1a2c01b
Fix typo in union error: excepts -> accepts
...
Before:
```
foo.odin(4:24) Error: Cannot convert untyped value '""' to 'union {int, bool}' from 'untyped string'
u: union{int, bool} = ""
^^
'union {int, bool}' is a union which only excepts the following types:
'int' or 'bool'
```
After:
```
foo.odin(4:24) Error: Cannot convert untyped value '""' to 'union {int, bool}' from 'untyped string'
u: union{int, bool} = ""
^^
'union {int, bool}' is a union which only accepts the following types:
'int' or 'bool'
```
2026-07-01 21:07:31 -05:00
Jeroen van Rijn
0d2eb2ec96
Merge pull request #6928 from bergperri/fix-field-names-report-error
...
Fix compiler segmentation fault when field names start with '.'
2026-07-02 03:41:14 +02:00
Mike
7ccbd3d4ec
Fix compiler segmentation fault when field names start with '.'
2026-07-01 21:55:11 -03:00
MauriceElliott
adc50a1184
fixup! fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag.
2026-07-01 21:21:02 +01:00
MauriceElliott
56cee0c2cf
fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag.
2026-07-01 21:18:28 +01:00
misomosi
ae1280d6f9
Convert untyped to variant type unconditionally
2026-07-01 12:54:06 -04:00
misomosi
a2a0b83162
Allow casts to change mode for array programming
2026-07-01 07:59:08 -04:00
gingerBill
882736d330
Merge pull request #6920 from tf2spi/6674-patch-cmp-anonymous-procs
...
Add ways to diff anon procs with same signature
2026-07-01 11:02:21 +01:00
Jeroen van Rijn
f32c8ed44b
Warning
2026-07-01 11:49:11 +02:00
Jeroen van Rijn
7b57c3eff2
User
2026-07-01 11:37:44 +02:00
Jeroen van Rijn
92ced49bbd
Fix typo
2026-07-01 11:16:28 +02:00
misomosi
eb47032840
Add ways to diff anon procs with same signature
2026-07-01 01:49:35 -04:00
gingerBill
45eed87309
Allow #no_alias on any pointer-like type
2026-07-01 01:21:49 +01:00
gingerBill
957789d85a
Merge pull request #6916 from tf2spi/6911-check-c-varargs
...
Only allow direct CVarArg usage in c_va_start
2026-07-01 01:12:19 +01:00
MauriceElliott
a3fa3476c6
feat(arm32 cdecl): Added thumb as the triple for cortex-m7. Updated the calling convention for cortex-m7 arm32 micro processors as the soft float register was being used when calling across the C ABI boundary causing guff data to be passed.
2026-06-30 20:07:36 +01:00
misomosi
c7cd4b9e95
Only allow direct CVarArg usage in c_va_start
2026-06-30 14:18:54 -04:00
Maurice Elliott
ab11e45a4a
Merge branch 'odin-lang:master' into master
2026-06-30 19:17:24 +01: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
16ac69517c
Merge pull request #6914 from Kelimion/fix-xml
...
Fix whitespace normalize
2026-06-30 12:32:41 +01:00
Jeroen van Rijn
4b9f396cb3
Fix whitespace normalize
2026-06-30 13:23:44 +02: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
gingerBill
7d32c733d3
json.match utility procedure
2026-06-29 13:44:45 +01:00
gingerBill
9e713e2940
Update core:encoding/json to use proc groups and @(require_results)
2026-06-29 13:44:29 +01:00
misomosi
fc62110392
Report range type correctly on out-of-bounds
2026-06-29 08:29:14 -04:00