mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Allow recursive function definitions as long as they are pointers #1182. Add 'zstr' variants for string::new_format / string::tformat.
This commit is contained in:
@@ -5,7 +5,7 @@ fn void! main()
|
||||
{
|
||||
}
|
||||
|
||||
def FooFunc = fn void! (Bar*); // #error: Recursive definition
|
||||
def FooFunc = fn void! (Bar); // #error: Recursive definition
|
||||
def Foo = HashMap(<String, FooFunc>);
|
||||
|
||||
struct Bar
|
||||
|
||||
Reference in New Issue
Block a user