Fixed self param

This commit is contained in:
2026-05-10 03:27:20 +02:00
parent f69c53d3fc
commit 0c2746eefc
+1 -1
View File
@@ -233,7 +233,7 @@ self_param = {
}
method = {
export? ~ type_expr ~ identifier ~ generics? ~ "(" ~ self_param? ~ param_list? ~ ")" ~ block
export? ~ type_expr ~ identifier ~ generics? ~ "(" ~ self_param? ~ ("," ~ param_list?)? ~ ")" ~ block
}
class_decl = {