Change-Id: Ib30b2454ee287b2b651506589b8e7eeb8950ba7d
This commit is contained in:
Mateusz Poliwczak 2024-09-04 18:05:57 +02:00
parent 32600e0a18
commit e5db56d5ca

View File

@ -823,7 +823,7 @@ func TestIssue57490(t *testing.T) {
}
func TestParseTypeParamsAsParenExpr(t *testing.T) {
const src = "package p;type X[A (B),] struct{}"
const src = "package p; type X[A (B),] struct{}"
fset := token.NewFileSet()
f, err := ParseFile(fset, "test.go", src, ParseComments|SkipObjectResolution)