Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIssue34921 (0.25 sec)

  1. src/go/types/issues_test.go

    	if path == h.pkg.Path() {
    		return h.pkg, nil
    	}
    	if h.fallback == nil {
    		return nil, fmt.Errorf("got package path %q; want %q", path, h.pkg.Path())
    	}
    	return h.fallback.Import(path)
    }
    
    // TestIssue34921 verifies that we don't update an imported type's underlying
    // type when resolving an underlying type. Specifically, when determining the
    // underlying type of b.T (which is the underlying type of a.T, which is int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    	if path == h.pkg.Path() {
    		return h.pkg, nil
    	}
    	if h.fallback == nil {
    		return nil, fmt.Errorf("got package path %q; want %q", path, h.pkg.Path())
    	}
    	return h.fallback.Import(path)
    }
    
    // TestIssue34921 verifies that we don't update an imported type's underlying
    // type when resolving an underlying type. Specifically, when determining the
    // underlying type of b.T (which is the underlying type of a.T, which is int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top