Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for f4x (0.02 sec)

  1. test/typeparam/typelist.go

    func f3x() {
    	f := f3[int]
    	var x int
    	f(x, &x, &x)
    	f3(x, &x, &x)
    }
    */
    
    func f4[A any, B interface{ []C }, C interface{ *A }](_ A, _ B, c C) {}
    func f4x() {
    	f := f4[int]
    	var x int
    	f(x, []*int{}, &x)
    	f4(x, []*int{}, &x)
    }
    
    func f5[A interface {
    	struct {
    		b B
    		c C
    	}
    }, B any, C interface{ *B }](x B) A {
    	panic(0)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top