proc/evalop: remove no longer needed old Go files (#3676)
This commit is contained in:
parent
d688d4c83b
commit
649e61e415
@ -1,9 +0,0 @@
|
||||
//go:build !go1.18
|
||||
|
||||
package evalop
|
||||
|
||||
import "go/ast"
|
||||
|
||||
type astIndexListExpr struct {
|
||||
ast.Expr
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
//go:build go1.18
|
||||
|
||||
package evalop
|
||||
|
||||
import "go/ast"
|
||||
|
||||
type astIndexListExpr = ast.IndexListExpr
|
@ -359,7 +359,7 @@ func (ctx *compileCtx) compileTypeCastOrFuncCall(node *ast.CallExpr) error {
|
||||
default:
|
||||
return ctx.compileFunctionCall(node)
|
||||
}
|
||||
case *astIndexListExpr:
|
||||
case *ast.IndexListExpr:
|
||||
return ctx.compileTypeCast(node, nil)
|
||||
default:
|
||||
// All other expressions must be function calls
|
||||
|
Loading…
Reference in New Issue
Block a user