- 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.
This commit is contained in:
Christoffer Lerno
2025-03-15 15:21:55 +01:00
committed by Christoffer Lerno
parent fc5615a7a1
commit 5c77c9a754
221 changed files with 649 additions and 684 deletions

View File

@@ -231,7 +231,7 @@ fn void sending_to_full_buffered_chan_aborted_by_close() @test
return 0;
}, (void*)c)!!;
anyfault err = @catch(c.push(1));
fault err = @catch(c.push(1));
if (err)
{
assert(err == thread::CHANNEL_CLOSED);
@@ -257,7 +257,7 @@ fn void sending_to_unbuffered_chan_aborted_by_close() @test
return 0;
}, (void*)c)!!;
anyfault err = @catch(c.push(1));
fault err = @catch(c.push(1));
if (err)
{
assert(err == thread::CHANNEL_CLOSED);