mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix test, fix type name.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
fn String str(int& element) // #error: A ref parameter should always be untyped
|
||||
fn String str(int& element) // #error: Ref parameters are only allowed on methods
|
||||
{
|
||||
return "abc";
|
||||
}
|
||||
|
||||
fn String int.str(int& element) // #error: Ref parameters are only allowed on methods
|
||||
fn String int.str(int& element) // #error: A ref parameter should always be untyped
|
||||
{
|
||||
return "abc";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user