Moved ovveride to after params

This commit is contained in:
2026-06-16 16:19:28 +02:00
parent 8b95497725
commit 4def6db820
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ trait_decl = {
override_kw = { "override" ~ ("(" ~ expr_path ~ ")")? }
function_decl = {
visibility? ~ override_kw? ~ "fn" ~ ("void" | type_expr) ~ identifier ~ generics_decl? ~ "(" ~ method_args ~ ")" ~ (block | semicolon)
visibility? ~ "fn" ~ ("void" | type_expr) ~ identifier ~ generics_decl? ~ "(" ~ method_args ~ ")" ~ override_kw? ~ (block | semicolon)
}
// ======================================================