Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIssue51093 (0.12 sec)

  1. src/go/types/issues_test.go

    		u := NewUnion([]*Term{t1, t2})            // ~string | []byte
    		P := NewTypeName(nopos, nil, "P", nil)    // [P ~string | []byte]
    		makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{u})))
    	}
    }
    
    func TestIssue51093(t *testing.T) {
    	// Each test stands for a conversion of the form P(val)
    	// where P is a type parameter with typ as constraint.
    	// The test ensures that P(val) has the correct type P
    	// and is not a constant.
    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

    		u := NewUnion([]*Term{t1, t2})            // ~string | []byte
    		P := NewTypeName(nopos, nil, "P", nil)    // [P ~string | []byte]
    		makeSig(NewTypeParam(P, NewInterfaceType(nil, []Type{u})))
    	}
    }
    
    func TestIssue51093(t *testing.T) {
    	// Each test stands for a conversion of the form P(val)
    	// where P is a type parameter with typ as constraint.
    	// The test ensures that P(val) has the correct type P
    	// and is not a constant.
    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