Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for s9 (0.07 sec)

  1. src/encoding/json/decode_test.go

    // The X in S6 and S7 annihilate, but they also block the X in S8.S9.
    type S5 struct {
    	S6
    	S7
    	S8
    }
    
    type S6 struct {
    	X int
    }
    
    type S7 S6
    
    type S8 struct {
    	S9
    }
    
    type S9 struct {
    	X int
    	Y int
    }
    
    // From reflect test:
    // The X in S11.S6 and S12.S6 annihilate, but they also block the X in S13.S8.S9.
    type S10 struct {
    	S11
    	S12
    	S13
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    		{`package s8; func _() { f(g, h) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func(int, string)`},
    		{`package s9; func _() { f(g, h[int]) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func[P, Q any](P, Q)`}, // go.dev/issues/60212
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    		{`package s8; func _() { f(g, h) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func(int, string)`},
    		{`package s9; func _() { f(g, h[int]) }; func f[P any](func(int, P), func(P, string)) {}; func g[P any](P, P) {}; func h[P, Q any](P, Q) {}`, `h`, `func[P, Q any](P, Q)`}, // go.dev/issues/60212
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top