Skip to content

Commit

Permalink
Fix catch syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
toinehartman committed Jun 11, 2024
1 parent 843c60c commit 596c313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rascal-lsp/src/main/rascal/lang/rascal/lsp/Rename.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool isLegalName(str name) {
try {
parse(#Name, escapeName(name));
return true;
} catch ParseError: {
} catch ParseError(_): {
return false;
}
}
Expand Down

0 comments on commit 596c313

Please sign in to comment.