Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Mar 24, 2024
1 parent f8f37d9 commit 0a9ab1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ void collect(current: (FunctionDeclaration) `<FunctionDeclaration decl>`, Collec
signature = decl.signature;
fname = signature.name;

ppfname = prettyPrintName(fnamr);
ppfname = prettyPrintName(fname);
if(isWildCard(ppfname)){
c.report(error(fname, "Cannot declare function name starting with `_`"));
}
Expand Down

0 comments on commit 0a9ab1c

Please sign in to comment.