upload code

This commit is contained in:
Dominic 2022-10-16 20:14:55 +02:00
commit 3f507064ce
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
111 changed files with 9258 additions and 0 deletions

View file

@ -0,0 +1,11 @@
Error: Too few arguments
╭─[expected-2-found-1-generic.txt:4:17]
2 │ fn foo<V>(foo: V, bar: V) {}
· ─┬─
· ╰─── This function takes 2 arguments,
·
4 │ let _unit: () = foo::<int>(1);
· ─┬─
· ╰─── but only 1 arguments were supplied
───╯

View file

@ -0,0 +1,4 @@
// This function does nothing.
fn foo<V>(foo: V, bar: V) {}
let _unit: () = foo::<int>(1);

View file

@ -0,0 +1,11 @@
Error: Too few arguments
╭─[expected-2-found-1.txt:4:17]
2 │ fn foo(foo: int, bar: int) {}
· ─┬─
· ╰─── This function takes 2 arguments,
·
4 │ let _unit: () = foo(1);
· ─┬─
· ╰─── but only 1 arguments were supplied
───╯

View file

@ -0,0 +1,4 @@
// This function does nothing.
fn foo(foo: int, bar: int) {}
let _unit: () = foo(1);