Christoffer Lerno
|
ba48627ca0
|
Fix address out of bounds access in test.
|
2025-02-11 00:22:01 +01:00 |
|
Christoffer Lerno
|
f8e3ffd267
|
Fix test
|
2025-02-10 22:19:16 +01:00 |
|
Christoffer Lerno
|
8b8a2beb0d
|
Fix threading test.
|
2025-02-10 22:08:54 +01:00 |
|
Christoffer Lerno
|
79a4b6855b
|
- Detect unaligned loads #1951.
- Fix issue where aligned bitstructs did not store/load with the given alignment.
|
2025-02-10 22:07:15 +01:00 |
|
Christoffer Lerno
|
86680279fa
|
Improve inference on ?? #1943.
|
2025-02-10 16:20:33 +01:00 |
|
Christoffer Lerno
|
c4212c4649
|
- Test runner will also check for leaks.
- `write` of qoi would leak memory.
- Issue when having an empty `Path` or just "."
- `set_env` would leak memory.
|
2025-02-10 00:39:02 +01:00 |
|
Christoffer Lerno
|
63f619e5b6
|
Add tracking allocator to test runner. #1809
|
2025-02-09 03:10:35 +01:00 |
|
Christoffer Lerno
|
c4f9efc8f5
|
Allow fn int test() => @pool() { return 1; } short function syntax usage #1906.
|
2025-02-08 22:45:14 +01:00 |
|
Christoffer Lerno
|
69e30c19f8
|
Distinct inline void causes unexpected error if used in slice #1946.
|
2025-02-08 20:33:08 +01:00 |
|
Christoffer Lerno
|
940874e349
|
Cleaner error message when missing comma in struct initializer #1941.
|
2025-02-08 19:54:44 +01:00 |
|
Christoffer Lerno
|
d3f2180330
|
bigint::from_int(0) throws assertion #1944.
|
2025-02-08 19:15:14 +01:00 |
|
Christoffer Lerno
|
68b5c1e1f1
|
Fix bigint hex parsing #1945.
|
2025-02-08 19:06:06 +01:00 |
|
Christoffer Lerno
|
c8e671d34b
|
Assert when using optional as init or inc part in a for loop #1942.
|
2025-02-08 18:58:44 +01:00 |
|
Christoffer Lerno
|
46c7e9aefa
|
Cleanup QOI
|
2025-02-08 00:32:48 +01:00 |
|
Christoffer Lerno
|
fa4fb44779
|
Issue with defer copying when triggered by break or continue.
|
2025-02-08 00:14:01 +01:00 |
|
Christoffer Lerno
|
77db50bce8
|
Allow function types to have a calling convention. #1938
|
2025-02-07 22:03:15 +01:00 |
|
Christoffer Lerno
|
3e1e3e3e29
|
Incorrect error message when providing too many associated values for enum #1934.
|
2025-02-07 10:44:53 +01:00 |
|
Christoffer Lerno
|
bc63c16c93
|
Add @select to perform the equivalent of a ? x : y at compile time.
|
2025-02-06 22:21:26 +01:00 |
|
Aleksandr Vedeneev
|
3a502feb1d
|
test::eq/ne/gt syntax (#1928)
* test::eq/ne/gt syntax
* renamed @almost to test::eq_approx
|
2025-02-05 22:50:25 +01:00 |
|
Christoffer Lerno
|
8b794e8cea
|
Updated test (again!)
|
2025-02-04 23:36:27 +01:00 |
|
Christoffer Lerno
|
549e27a800
|
Fix test compatibility with LLVM 21
|
2025-02-04 23:11:09 +01:00 |
|
Christoffer Lerno
|
6fcda240b8
|
Fixes to enum conversions.
|
2025-02-04 22:26:51 +01:00 |
|
Christoffer Lerno
|
fff3cf33c7
|
Issue where inlined expr enums weren't properly const folded.
|
2025-02-04 21:46:23 +01:00 |
|
Christoffer Lerno
|
c54c400291
|
Allow inline enum values to define sizes.
|
2025-02-04 00:23:59 +01:00 |
|
Christoffer Lerno
|
aaa5c0f743
|
Fix bug in parsing inline enums.
|
2025-02-03 23:43:34 +01:00 |
|
Christoffer Lerno
|
9d2f4e72c2
|
Add inline to enums #1819.
|
2025-02-03 22:51:50 +01:00 |
|
Christoffer Lerno
|
300983f831
|
Compile time array assign ops, e.g. $c[1] += 3 #1890.
|
2025-02-03 00:35:20 +01:00 |
|
Christoffer Lerno
|
f2df4855ff
|
Improve error message when using ',' in struct declarations. #1920
|
2025-02-02 22:44:30 +01:00 |
|
Christoffer Lerno
|
20d93ede0c
|
Fix test compatibility with LLVM 20
|
2025-02-02 02:47:51 +01:00 |
|
Christoffer Lerno
|
f8b2f7f268
|
Refactor casts and make untyped list conversions not dependent on context.
|
2025-02-01 23:37:32 +01:00 |
|
Christoffer Lerno
|
dc6d994480
|
Fixing various issues around shifts, like z <<= { 1, 2 }.
|
2025-02-01 15:43:42 +01:00 |
|
Christoffer Lerno
|
2b3b7e32b8
|
Fix bug indexing into a constant array at compile time.
|
2025-02-01 00:36:30 +01:00 |
|
Christoffer Lerno
|
03e2b30ede
|
Compile time array inc/dec #1890.
|
2025-01-31 23:58:44 +01:00 |
|
Christoffer Lerno
|
bda33ca3f9
|
Update defer
|
2025-01-31 16:59:14 +01:00 |
|
Christoffer Lerno
|
50c1aac9bb
|
Usage of @noreturn macro is type-checked as if it returns #1913.
|
2025-01-31 16:19:12 +01:00 |
|
Christoffer Lerno
|
9092defd46
|
defer is broken when placed before a $foreach #1912
|
2025-01-31 14:39:51 +01:00 |
|
Christoffer Lerno
|
3c50376175
|
New test runner
|
2025-01-30 01:09:48 +01:00 |
|
Christoffer Lerno
|
6848753a10
|
Warn on if-catch with just a default case #1904.
|
2025-01-29 15:29:09 +01:00 |
|
Christoffer Lerno
|
ac3b2f0fea
|
- Fix bug where in dead code, only the first statement would be turned into a nop.
- Remove unused $inline argument to mem::copy.
|
2025-01-29 13:07:19 +01:00 |
|
Christoffer Lerno
|
70d0ad1fcc
|
Missing error when placing a single statement for-body on a new row #1892.
|
2025-01-28 17:13:37 +01:00 |
|
Christoffer Lerno
|
55fba09b3b
|
Fixed STB_WEAK errors when using consts in macros in the stdlib #1871.
|
2025-01-27 23:51:23 +01:00 |
|
Christoffer Lerno
|
d2a7dc4a9a
|
Fix test take two.
|
2025-01-27 20:51:41 +01:00 |
|
Rene Hangstrup Møller
|
d8ca0f69f6
|
fix allocator::new_aligned #1898
|
2025-01-27 20:38:11 +01:00 |
|
Christoffer Lerno
|
bd139f73ac
|
Fix test.
|
2025-01-27 15:25:46 +01:00 |
|
Christoffer Lerno
|
a88364aaad
|
Fixes miscompilation of nested @jump #1896.
|
2025-01-27 11:35:55 +01:00 |
|
Christoffer Lerno
|
9530fe8fcd
|
Fix regression for parsing types and switch to the "new" generic syntax that's being tested.
|
2025-01-26 22:51:27 +01:00 |
|
Christoffer Lerno
|
26dc88e096
|
Fix issues with @jump on empty default or only default #1893 #1894
|
2025-01-26 15:38:24 +01:00 |
|
Christoffer Lerno
|
1f1c445a76
|
Issue where trailing body argument was allowed without type even though the definition specified it #1879.
|
2025-01-25 23:52:13 +01:00 |
|
Christoffer Lerno
|
3e4f9e875f
|
Add test for casts and append.
|
2025-01-25 23:18:35 +01:00 |
|
Christoffer Lerno
|
e40bab2d30
|
Allow (int[*]) { 1, 2 } cast style initialization. Experimental change from [*] to [?]. Fix issue where compile time declarations in expression list would not be handled properly.
|
2025-01-25 22:10:12 +01:00 |
|