
Try to produce better error messages when we can't distinguish between a function call and a type cast. Fixes #2902
9 lines
109 B
Go
9 lines
109 B
Go
//go:build go1.18
|
|
// +build go1.18
|
|
|
|
package proc
|
|
|
|
import "go/ast"
|
|
|
|
type astIndexListExpr = ast.IndexListExpr
|