mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Fix issue with some conversions to untyped list. - Experimental change: add `+++` `&&&` `|||` as replacement for `$concat`, `$and` and `$or`.
14 lines
542 B
C
14 lines
542 B
C
|
|
fn void foo1(int #foo) { } // #error: Only regular parameters are allowed for functions.
|
|
|
|
fn void foo2(int $foo) { } // #error: Only regular parameters are allowed for functions.
|
|
|
|
fn void foo3(bar) { } // #error: Only typed parameters are allowed for functions
|
|
|
|
fn void foo4($Type) { } // #error: Only regular parameters are allowed for functions.
|
|
|
|
fn void foo8(int* &foo) {} // #error: Only regular parameters are allowed for functions.
|
|
|
|
fn void foo9(int x, int x) {} // #error: Duplicate parameter name 'x'.
|
|
|
|
macro @foo($a, $b, $c, ...) {} |