mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
10 lines
206 B
Plaintext
10 lines
206 B
Plaintext
fn String str(int& element) // #error: Ref parameters are only allowed on methods
|
|
{
|
|
return "abc";
|
|
}
|
|
|
|
fn String int.str(int& element) // #error: A ref parameter should always be untyped
|
|
{
|
|
return "abc";
|
|
}
|