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:
Christoffer Lerno
2024-04-16 19:42:32 +02:00
parent 9ed8831500
commit 8b6735a6aa
6 changed files with 24 additions and 6 deletions

View File

@@ -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