Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for Identical (0.11 sec)

  1. src/reflect/all_test.go

    		f = MakeFunc(TypeOf(f), func([]Value) []Value {
    			var c <-chan int = make(chan int)
    			return []Value{ValueOf(c)}
    		}).Interface().(func() chan int)
    		f()
    	})
    	// Two named types which are otherwise identical.
    	shouldPanic("", func() {
    		type T struct{ a, b, c int }
    		type U struct{ a, b, c int }
    		var f func() T
    		f = MakeFunc(TypeOf(f), func([]Value) []Value {
    			return []Value{ValueOf(U{a: 1, b: 2, c: 3})}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top