Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAnyHijacking_Check (0.15 sec)

  1. src/go/types/api_test.go

    	if got != want {
    		t.Errorf("A.Rhs = %s, want %s", got, want)
    	}
    }
    
    // Test the hijacking described of "any" described in golang/go#66921, for type
    // checking.
    func TestAnyHijacking_Check(t *testing.T) {
    	for _, enableAlias := range []bool{false, true} {
    		t.Run(fmt.Sprintf("EnableAlias=%t", enableAlias), func(t *testing.T) {
    			setGotypesalias(t, enableAlias)
    			var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top