Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for i01 (0.01 sec)

  1. src/internal/types/testdata/check/typeinst1.go

    type I0 interface {
    	E0
    }
    
    func f0[T I0]() {}
    var _ = f0[int]
    var _ = f0[bool]
    var _ = f0[string]
    var _ = f0[float64 /* ERROR "does not satisfy I0" */ ]
    
    type I01 interface {
    	E0
    	E1
    }
    
    func f01[T I01]() {}
    var _ = f01[int]
    var _ = f01[bool /* ERROR "does not satisfy I0" */ ]
    var _ = f01[string]
    var _ = f01[float64 /* ERROR "does not satisfy I0" */ ]
    
    type I012 interface {
    	E0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top