- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestIssue61931 (0.44 sec)
-
src/go/types/issues_test.go
func _cgoCheckResult(interface{}) ` testFiles(t, []string{"p.go", "_cgo_gotypes.go"}, [][]byte{[]byte(src), []byte(cgoTypes)}, false, func(cfg *Config) { *boolFieldAddr(cfg, "go115UsesCgo") = true }) } func TestIssue61931(t *testing.T) { const src = ` package p func A(func(any), ...any) {} func B[T any](T) {} func _() { A(B, nil // syntax error: missing ',' before newline in argument list } `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
` testFiles(t, []string{"p.go", "_cgo_gotypes.go"}, [][]byte{[]byte(src), []byte(cgoTypes)}, 0, false, func(cfg *Config) { *boolFieldAddr(cfg, "go115UsesCgo") = true }) } func TestIssue61931(t *testing.T) { const src = ` package p func A(func(any), ...any) {} func B[T any](T) {} func _() { A(B, nil // syntax error: missing ',' before newline in argument list } `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0)