Christoffer Lerno
|
0a9bb2e8e0
|
Fix to simple a += b overload fallback. Renaming and reordering in the stdlib.
|
2025-04-15 12:01:58 +02:00 |
|
Christoffer Lerno
|
b64dcde21d
|
Make aliases able to use @deprecated. Prefer math::I and math::I_F for math::IMAGINARY and math::IMAGINARYF the latter is deprecated. Combination of += and [] overloads now properly handled in most cases.
|
2025-04-14 20:51:01 +02:00 |
|
Christoffer Lerno
|
f85198e3ee
|
Added += and related as overloads. Updated tests and docs. Slice2 extracted to its own file.
|
2025-04-14 00:55:46 +02:00 |
|
Christoffer Lerno
|
dca805bd8a
|
Added tests to sincos. Correctly detect multiple overloads of the same type. Fix regression quaternion overload. Remove "1." style.
|
2025-04-13 15:46:27 +02:00 |
|
Christoffer Lerno
|
3888fcb182
|
- Add @operator_r and @operator_s attributes.
|
2025-04-13 13:43:03 +02:00 |
|
Christoffer Lerno
|
de73265d28
|
Fix operator overload struct placement.
|
2025-04-11 21:27:59 +02:00 |
|
Christoffer Lerno
|
cb895754c8
|
Size to store overload increas for msvc.
|
2025-04-11 21:17:42 +02:00 |
|
Christoffer Lerno
|
6e42bfef3b
|
Typo
|
2025-04-11 21:04:46 +02:00 |
|
Christoffer Lerno
|
01357ef6d7
|
Check before hitting assert.
|
2025-04-11 21:00:30 +02:00 |
|
Christoffer Lerno
|
0f2d425297
|
Operator overloading for + - * / % & | ^ << >> ~ == !=
|
2025-04-11 18:46:22 +02:00 |
|
Christoffer Lerno
|
8cce7f6836
|
Incorrect rounding at compile time going from double to int.
|
2025-04-07 02:36:04 +02:00 |
|
Christoffer Lerno
|
4c26adb376
|
Improved error message when narrowing isn't allowed.
|
2025-04-07 01:12:23 +02:00 |
|
Christoffer Lerno
|
94b8330ac5
|
Function @require checks are added to the caller in safe mode. #186
|
2025-04-06 15:28:10 +02:00 |
|
Christoffer Lerno
|
ded5fde2d5
|
Fix test, fix type name.
|
2025-04-04 13:48:07 +02:00 |
|
Christoffer Lerno
|
65fb977e89
|
Clearer errors when using a &ref parameter with type.
|
2025-04-04 13:21:53 +02:00 |
|
Christoffer Lerno
|
e3f3b6f5f1
|
Better errors trying to convert an enum to an int and vice versa. Trying to cast an enum to int and back caused the compiler to crash.
|
2025-04-04 02:38:51 +02:00 |
|
Boris Barbulovski
|
ab4ed9472a
|
Copy paste typo.
|
2025-04-04 02:29:25 +02:00 |
|
Christoffer Lerno
|
1668999f90
|
Better errors on some common casting mistakes (pointer->slice, String->ZString, deref pointer->array) #2064.
|
2025-04-04 00:12:52 +02:00 |
|
Avaxar
|
47447dc069
|
Glob crt1.o on Linux depending on architecture
|
2025-04-03 00:59:51 +02:00 |
|
Christoffer Lerno
|
39a59c929f
|
Add dummy deprecated key.
|
2025-04-03 00:59:24 +02:00 |
|
Christoffer Lerno
|
f355738dda
|
Project refactoring. Remove deprecated properties.
|
2025-04-03 00:56:17 +02:00 |
|
Christoffer Lerno
|
2be3071bdb
|
0.7.1 dev
|
2025-03-31 01:36:58 +02:00 |
|
Christoffer Lerno
|
d3e81b193a
|
Update CI
|
2025-03-31 01:34:01 +02:00 |
|
Christoffer Lerno
|
40ff6b1315
|
Release candidate 0.7.0
|
2025-03-29 22:36:28 +01:00 |
|
Christoffer Lerno
|
5d026268a7
|
"Single module" was not enforced when creating a static library using as a project target.
|
2025-03-27 00:02:51 +01:00 |
|
Christoffer Lerno
|
4538a1f50d
|
- Correctly errors when a generic module contains a self-generic type.
|
2025-03-26 18:04:00 +01:00 |
|
Maxime Beaudoin
|
a8554b4233
|
String.c3 function parameters ambiguous (#2061)
* Some tweaks. Fixes regression in `format`
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-03-25 14:25:23 +01:00 |
|
Christoffer Lerno
|
fa707db078
|
Do not implicitly convert enums to ordinal in formatting functions.
|
2025-03-25 12:27:51 +01:00 |
|
Christoffer Lerno
|
439349ceb8
|
Move dynamic dispatch lowering.
|
2025-03-25 00:20:01 +01:00 |
|
Christoffer Lerno
|
d760378b02
|
- Added @format attribute for compile time printf validation #2057.
- Bug when printing a boolean value as an integer using printf.
|
2025-03-24 13:32:44 +01:00 |
|
Christoffer Lerno
|
50d7919fec
|
- Compile test and benchmark functions when invoking --lsp #2058.
|
2025-03-23 23:30:50 +01:00 |
|
Christoffer Lerno
|
f53f8bf423
|
Fix help message for asm-out
|
2025-03-23 23:19:31 +01:00 |
|
Christoffer Lerno
|
82f1b543ed
|
&self not runtime null-checked in macro #1827. Regression in temp allocators.
|
2025-03-23 22:50:09 +01:00 |
|
[ Taha. Dostifam ]
|
fab00f21a6
|
Added a progress bar to vendor-fetch in compiler section (#2055)
* added a progress bar to vendor-fetch of compiler section
* Handle ansi settings.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-03-20 21:53:02 +01:00 |
|
Christoffer Lerno
|
49033320e2
|
Stable path for unpacked libraries.
|
2025-03-20 20:51:36 +01:00 |
|
Christoffer Lerno
|
0beb30c979
|
Updated error message #2037
|
2025-03-19 23:25:56 +01:00 |
|
Christoffer Lerno
|
84753bde6d
|
- Allow inferred type on body parameters. E.g. @stack_mem(1024; alloc) { ... };
|
2025-03-18 15:40:26 +01:00 |
|
Christoffer Lerno
|
82cc49b388
|
- !!foo now works same as as ! ! foo.
- Incorrectly allowed getting pointer to a macro #2049.
|
2025-03-16 23:57:30 +01:00 |
|
Christoffer Lerno
|
425676a98d
|
Bug due to missing cast when doing $i[$x] = $z.
Added `math::iota`.
|
2025-03-16 10:58:13 +01:00 |
|
Christoffer Lerno
|
5c77c9a754
|
- Change distinct -> typedef.
- Order of attribute declaration is changed for `alias`.
- Added `LANGUAGE_DEV_VERSION` env constant.
- Rename `anyfault` -> `fault`.
- Changed `fault` -> `faultdef`.
- Added `attrdef` instead of `alias` for attribute aliases.
|
2025-03-15 20:10:47 +01:00 |
|
Christoffer Lerno
|
fc5615a7a1
|
Restore def so that libraries work.
|
2025-03-13 11:51:21 +01:00 |
|
Christoffer Lerno
|
8b49e6c14d
|
Rename def to alias.
|
2025-03-13 11:22:27 +01:00 |
|
Christoffer Lerno
|
ae76839347
|
Fix @return? parsing.
|
2025-03-13 11:03:19 +01:00 |
|
Christoffer Lerno
|
b8ae2b06d6
|
Rename @return! to @return?
|
2025-03-12 21:40:30 +01:00 |
|
Christoffer Lerno
|
c9dbd86d82
|
Crash resolving a method on Foo[2] when Foo is distinct #2042.
|
2025-03-12 15:45:43 +01:00 |
|
Christoffer Lerno
|
d5b211a786
|
Fault nameof prefixes the first last module path, for instance std::io::EOF is rendered as io::EOF.
|
2025-03-11 22:46:02 +01:00 |
|
Christoffer Lerno
|
f5d02cd0d2
|
Crash when trying to convert a struct slice to a vector #2039.
|
2025-03-11 21:18:19 +01:00 |
|
Christoffer Lerno
|
8c23c5028d
|
Make @public import recursive. #2018
`import` can now both be @public and @norecurse.
|
2025-03-10 15:33:29 +01:00 |
|
Christoffer Lerno
|
461bd43a22
|
Fix Android 2
|
2025-03-10 11:04:43 +01:00 |
|
Christoffer Lerno
|
fbc8168bb9
|
Improve error message on foo ?? io::EOF with missing '?' #2036. Fix build on Android
|
2025-03-10 11:02:43 +01:00 |
|