- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestColonEqualsScope (0.2 sec)
-
src/go/parser/parser_test.go
t.Errorf("ParseExpr(%q): got no error", src) } } // ParseExpr must not crash for _, src := range valids { ParseExpr(src) } } func TestColonEqualsScope(t *testing.T) { f, err := ParseFile(token.NewFileSet(), "", `package p; func f() { x, y, z := x, y, z }`, 0) if err != nil { t.Fatal(err) } // RHS refers to undefined globals; LHS does not.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0)