Skip to content

Commit 16173bf

Browse files
anilbeyfanninpm
andauthored
Update compiler/parser/src/error.rs
Co-authored-by: fanninpm <fanninpm@miamioh.edu>
1 parent 7e7b2ea commit 16173bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎parser/src/error.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl fmt::Display for LexicalErrorType {
5555
write!(f, "duplicate argument '{arg_name}' in function definition")
5656
}
5757
LexicalErrorType::DuplicateKeywordArgumentError(arg_name) => {
58-
write!(f, "keyword argument '{arg_name}' repeated")
58+
write!(f, "keyword argument repeated: {arg_name}")
5959
}
6060
LexicalErrorType::PositionalArgumentError => {
6161
write!(f, "positional argument follows keyword argument")

0 commit comments

Comments
 (0)