Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Fix range of keyword identifier (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser authored and zanieb committed Jul 10, 2023
1 parent 5c6d5ad commit 7a4e0dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub(crate) fn parse_args(func_args: Vec<FunctionArgument>) -> Result<ArgumentLis
}

keywords.push(ast::Keyword {
arg: name.map(|name| ast::Identifier::new(name, TextRange::new(start, end))),
arg: name,
value,
range: TextRange::new(start, end),
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a4e0dc

Please sign in to comment.