Don't fail on empty callargs
This commit is contained in:
parent
43866eb142
commit
43c7914622
@ -207,6 +207,9 @@ pub(crate) fn eat_call_args<I: Iterator<Item = Token>>(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
TokenKind::Symbol(Symbol::CloseParen) => {
|
TokenKind::Symbol(Symbol::CloseParen) => {
|
||||||
|
if val.is_empty() {
|
||||||
|
break;
|
||||||
|
}
|
||||||
match name {
|
match name {
|
||||||
Some(name) => args.insert(
|
Some(name) => args.insert(
|
||||||
name,
|
name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user