mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
More deprecations in lib6, and updates to lib7
This commit is contained in:
@@ -10,7 +10,7 @@ fn void init_destroy_buffered() @test
|
||||
for (usz i = 0; i < 20; i++)
|
||||
{
|
||||
BufferedChannel(<int>) c;
|
||||
c.new_init(1)!!;
|
||||
c.init(mem, 1)!!;
|
||||
defer c.destroy()!!;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@ fn void init_destroy_unbuffered() @test
|
||||
fn void push_to_buffered_channel_no_lock() @test
|
||||
{
|
||||
BufferedChannel(<int>) c;
|
||||
c.new_init(1)!!;
|
||||
c.init(mem, 1)!!;
|
||||
defer c.destroy()!!;
|
||||
|
||||
c.push(1)!!;
|
||||
|
||||
Reference in New Issue
Block a user