mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Added new style named arguments.
This commit is contained in:
@@ -161,7 +161,7 @@ fn void! main()
|
||||
|
||||
String foo_tmpl = "<<{{foo}} | {{bar}}>>";
|
||||
FooTmpl ft;
|
||||
ft.init(foo_tmpl, .using = allocator::temp())!;
|
||||
ft.init(foo_tmpl, using: allocator::temp())!;
|
||||
defer ft.free()!!;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user