mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- 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:
committed by
Christoffer Lerno
parent
fc5615a7a1
commit
5c77c9a754
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user