mirror of
https://github.com/go-task/task.git
synced 2026-07-07 14:09:11 +00:00
4
vendor/github.com/mvdan/sh/syntax/simplify.go
generated
vendored
4
vendor/github.com/mvdan/sh/syntax/simplify.go
generated
vendored
@@ -149,8 +149,8 @@ func (s *simplifier) inlineSimpleParams(x ArithmExpr) ArithmExpr {
|
||||
if pe == nil || !ValidName(pe.Param.Value) {
|
||||
return x
|
||||
}
|
||||
if pe.Indirect || pe.Length || pe.Width || pe.Key != nil ||
|
||||
pe.Slice != nil || pe.Repl != nil || pe.Exp != nil {
|
||||
if pe.Indirect || pe.Length || pe.Width || pe.Slice != nil ||
|
||||
pe.Repl != nil || pe.Exp != nil {
|
||||
return x
|
||||
}
|
||||
if pe.Index != nil {
|
||||
|
||||
Reference in New Issue
Block a user