LucaCappelletti94 commented on code in PR #2484:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2484#discussion_r4328106454
##########
src/ast/spans.rs:
##########
@@ -2216,6 +2216,7 @@ impl Spanned for FunctionArg {
arg,
operator: _,
} => name.span().union(&arg.span()),
+ FunctionArg::Variadic(arg) => arg.span(),
Review Comment:
Fixed it, but span really is a mess of its own and we'll have to handle it
some time after the tokenizer refactoring. Thanks for pointing this one out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]