Christoffer Lerno
cb19c7d9e7
Test update
2026-01-29 20:08:58 +01:00
Christoffer Lerno
224b120745
Another fix error => warn
2026-01-29 20:07:42 +01:00
Christoffer Lerno
534dd42472
Update test.
2026-01-29 17:51:50 +01:00
Christoffer Lerno
163976f85f
Fix of second warning triggered on failing to detect a method.
2026-01-29 17:42:51 +01:00
Christoffer Lerno
d79a8808d7
Update readme example and last version
2026-01-29 14:36:13 +01:00
Christoffer Lerno
1cba5a0774
Release candidate
2026-01-29 11:44:45 +01:00
Christoffer Lerno
6c76a7ce4e
Make methods not fully determined a warning.
2026-01-29 11:42:58 +01:00
Christoffer Lerno
084d5cbc94
Set target in test.
2026-01-29 02:30:06 +01:00
Christoffer Lerno
32b1df0f86
Set target in test.
2026-01-29 00:43:53 +01:00
Christoffer Lerno
50718cb905
- Crash in slice expression when it contains a rethrow #2872
...
- Multiple issues when rethrowing inside of expressions #2873
2026-01-29 00:42:20 +01:00
Christoffer Lerno
414c0c9438
- Initializer did not correctly handle second rethrow #2870
...
- Crash encountering panic in if-else style switch #2871
2026-01-28 22:56:59 +01:00
Christoffer Lerno
362d5680e4
- Optional in initializer cause a crash #2864
...
- Negating a global address with offset was a counted as a global runtime constant #2865
- Converting static "make_slice" to array failed to be handled #2866
- Narrowing a not expression was incorrectly handled #2867
- Vector shift by optional scalar failed #2868
2026-01-28 21:59:40 +01:00
Christoffer Lerno
fed7a74a75
Fix assert in #2863
2026-01-28 19:02:27 +01:00
Christoffer Lerno
d276d3767f
Incorrect handling when reporting fn with optional compile time type #2862
2026-01-28 18:51:21 +01:00
Christoffer Lerno
a07660f957
Improve tracing of liveness error reporting.
2026-01-28 11:44:37 +01:00
Christoffer Lerno
4d02ce4414
Additional fix for #2853
2026-01-27 23:43:14 +01:00
Christoffer Lerno
c1e3cfaacc
- Crash when trying to create a const zero untyped list #2847
2026-01-27 23:36:00 +01:00
Christoffer Lerno
c11385cf49
Fix wasm int128 size on LLVM 17-19.
2026-01-27 16:26:35 +01:00
Christoffer Lerno
0b5064683f
Regression: Generic type could not be found in lambda inside macro #2853
2026-01-27 14:23:41 +01:00
Christoffer Lerno
f3ede27f60
Regression: "'out' parameters may not be read" when writing to array #2852
2026-01-27 13:48:50 +01:00
Christoffer Lerno
4fbb42833e
- Crash when creating $Type* where $Type is an optional type #2848
...
- Crashes when using `io::EOF~!` in various unhandled places. #2848
2026-01-27 13:32:08 +01:00
Christoffer Lerno
3e76b7ff1c
Fixes to optional rethrow in expressions.
2026-01-26 04:10:38 +01:00
Christoffer Lerno
e901a3de55
- Fix alignment for uint128 to 16 with WASM targets.
...
- Incorrect assert in struct alignment checking #2841
- Packed structs sometimes not lowered as such.
2026-01-25 23:06:16 +01:00
Christoffer Lerno
4899ee14e2
Resolving &X.b when X is a const incorrectly checked for runtime constness #2842
...
Creating a generic instance fails if it is created after interface checking #2840
2026-01-25 21:24:27 +01:00
Christoffer Lerno
3c04a326f4
Resolving &X.b when X is a const incorrectly checked for runtime constness #2842
2026-01-25 20:28:58 +01:00
Christoffer Lerno
a1ff3b05ed
- Lowering of optional in && was incorrect #2843
2026-01-25 19:50:28 +01:00
Christoffer Lerno
74e228688a
- Packed .c3l files without compressions weren't unpacked correctly.
2026-01-25 19:13:42 +01:00
Zack Puhl
75d454b6a6
Add mem_allocator realloc_array Macros ( #2760 )
...
* Add mem_allocator `realloc_array` Macros
* test, ensure `realloc_array` to 0 size returns `null`
* update release notes
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2026-01-25 16:12:44 +01:00
m0tholith
6cffb888ea
Add maximum memory usage tracking to tracking allocator ( #2772 )
...
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2026-01-25 16:11:46 +01:00
soerlemans
cf03215564
Added unit tests for Crc32 hashing. ( #2833 )
...
* Adding crc32 unit tests.
* Fix formatting in crc32 test cases
---------
Co-authored-by: soerlemans <sebasoerlemans+git@gmail.com >
Co-authored-by: Christoffer Lerno <christoffer.lerno@gmail.com >
2026-01-25 13:16:44 +01:00
Christoffer Lerno
5b90743120
Fix test compatibility
2026-01-25 13:15:26 +01:00
Christoffer Lerno
0fb91265b6
- Bug when initializing an inferred array with deep structure using designated init #2826
2026-01-25 13:13:59 +01:00
Christoffer Lerno
3cb7c489ee
Updated releasenotes
2026-01-25 12:50:02 +01:00
Christoffer Lerno
c65c378b7f
- Bitstruct as substruct fails to properly work with designated initializers. #2827
2026-01-25 12:48:36 +01:00
Christoffer Lerno
cf9784afee
- Bitstruct accidentally allowed other arrays than char arrays #2836
2026-01-25 12:14:34 +01:00
Christoffer Lerno
8bd942c1b8
- Store of zero in lowering did not properly handle optionals in some cases #2837
2026-01-25 04:57:35 +01:00
Christoffer Lerno
109e15b5a0
- Empty enums would return the values as zero sized arrays #2838
2026-01-25 04:41:06 +01:00
Christoffer Lerno
0fdd6bdc81
- Early exit in macro call crashes codegen #2820
2026-01-25 00:52:57 +01:00
Christoffer Lerno
378b35265b
- Raw vaargs with optional return not lowered correctly #2819
2026-01-24 23:54:20 +01:00
Christoffer Lerno
b5e25e3857
Constant deref of subscript had inserted checks #2818
2026-01-24 23:24:36 +01:00
Christoffer Lerno
9b2fc04959
ompile time dereference of a constant slice was too generous #2821
2026-01-24 22:42:04 +01:00
Christoffer Lerno
ce8167a102
- Incorrectly try compile time int check on vector #2815
...
- Generating typeid from function gives incorrect typeid #2816
- Recursive definitions not discovered when initializer is access on other const #2817
- Slice overrun detected late hit codegen assert #2822
2026-01-24 19:38:51 +01:00
Christoffer Lerno
397d065a74
- Constant shifting incorrectly doesn't flatten the underlying vector base #2825
...
- String not set as attributes resolved breaking has_tagof #2824
- Self referencing forward resolved const enum fails to be properly detected #2823
2026-01-24 18:32:26 +01:00
Christoffer Lerno
5e23817a3d
- Comparing a flexible array member to another type would hit an assert. #2830
...
- Underlying slice type not checked correctly in $defined #2829
- Checking for exhaustive cases is done even in if-chain switch if all is enum #2828
2026-01-24 17:57:56 +01:00
Christoffer Lerno
396263f5c3
De-macro readline.
2026-01-23 22:45:58 +01:00
Christoffer Lerno
26d0760c0d
Make counting sort normal.
2026-01-23 17:09:34 +01:00
Christoffer Lerno
11f090116f
Allow disabling asserts.
2026-01-23 13:09:43 +01:00
Zack Puhl
5e1c343be4
Deprecate builtin EMPTY_MACRO_SLOT for optional macro arguments ( #2805 )
...
* add deprecations to macro slot builtins
* refactor all stdlib uses of now-deprecated EMPTY_MACRO_SLOT; release notes
* update incorrect releasenotes ref to this pr
* remove leftover comments from refactoring
* remove unnecessary `EmptySlot`-like type in countingsort; use private macro directly
2026-01-23 12:34:50 +01:00
Christoffer Lerno
0e69432e3d
Improved error diagnostics for memory overflow.
2026-01-23 11:58:19 +01:00
Christoffer Lerno
94a26d9483
Add asserts, tracking Windows bug
2026-01-23 11:51:51 +01:00