proc/evalop: remove no longer needed old Go files (#3676)

This commit is contained in:
Oleksandr Redko 2024-03-04 19:15:00 +02:00 committed by GitHub
parent d688d4c83b
commit 649e61e415
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 17 deletions

@ -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: default:
return ctx.compileFunctionCall(node) return ctx.compileFunctionCall(node)
} }
case *astIndexListExpr: case *ast.IndexListExpr:
return ctx.compileTypeCast(node, nil) return ctx.compileTypeCast(node, nil)
default: default:
// All other expressions must be function calls // All other expressions must be function calls