Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAnyHijacking_Lookup (0.23 sec)

  1. src/go/types/api_test.go

    					}
    				}()
    			}
    			wg.Wait()
    		})
    	}
    }
    
    // Test the hijacking described of "any" described in golang/go#66921, for
    // Scope.Lookup outside of type checking.
    func TestAnyHijacking_Lookup(t *testing.T) {
    	for _, enableAlias := range []bool{false, true} {
    		t.Run(fmt.Sprintf("EnableAlias=%t", enableAlias), func(t *testing.T) {
    			setGotypesalias(t, enableAlias)
    			a := Universe.Lookup("any")
    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