mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -2,17 +2,17 @@
|
||||
module test;
|
||||
import std::collections::map;
|
||||
|
||||
def Foo = HashMap(<String, HashMap(<String, String>)>);
|
||||
def Foo = HashMap{String, HashMap{String, String}};
|
||||
macro test()
|
||||
{
|
||||
HashMap(<String, String>) map0;
|
||||
HashMap{String, String} map0;
|
||||
map0["c3c"] = {};
|
||||
|
||||
Foo map;
|
||||
map["c3c"] = {};
|
||||
map["c3c"] = { {}, null, 1 ,2 ,2 };
|
||||
|
||||
HashMap(<String, HashMap(<String, String>)>) map2;
|
||||
HashMap{String, HashMap{String, String}} map2;
|
||||
map2["c3c"] = {};
|
||||
map2["c3c"] = { {}, null, 1 ,2 ,2 };
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ struct Client
|
||||
ClientState state;
|
||||
MsgHeader header;
|
||||
ushort service_id;
|
||||
ElasticArray(<ulong, 1>) subscribers;
|
||||
ElasticArray{ulong, 1} subscribers;
|
||||
}
|
||||
|
||||
Client[10] clients;
|
||||
|
||||
Reference in New Issue
Block a user