mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 03:49:06 +00:00
refactor: fix warns
This commit is contained in:
parent
cf726fe4a8
commit
edfabd97e7
14 changed files with 22 additions and 22 deletions
|
@ -2776,7 +2776,7 @@ impl Parser {
|
|||
ArrayInner::Normal(mut elems) => {
|
||||
let elems = if elems
|
||||
.pos_args()
|
||||
.get(0)
|
||||
.first()
|
||||
.map(|pos| match &pos.expr {
|
||||
Expr::Tuple(tup) => tup.paren().is_none(),
|
||||
_ => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue