Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for T11 (2.27 sec)

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

    	P1 *T9
    	T9 /* ERROR "invalid recursive type: T9 refers to itself" */ T9
    
    	T10 /* ERROR "invalid recursive type: T10 refers to itself" */ T10
    	P2 *T10
    )
    
    func (T11) m() {}
    
    type T11 /* ERROR "invalid recursive type: T11 refers to itself" */ struct{ T11 }
    
    type T12 /* ERROR "invalid recursive type: T12 refers to itself" */ struct{ T12 }
    
    func (*T12) m() {}
    
    type (
    	P3 *T13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue53454.go

    	S float64
    	T float64
    	U float64
    	V float64
    }
    
    type T6 struct {
    	T9
    	C T10
    }
    
    type T7 struct {
    	T10
    	T11
    }
    
    type T8 struct {
    	T9
    	C T7
    }
    
    type T9 struct {
    	A T5
    	B T3
    	D T4
    }
    
    type T10 struct {
    	W float64
    }
    
    type T11 struct {
    	X float64
    	Y float64
    }
    
    func MainTest(x T1, y T8, z T6) float64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 17:23:40 UTC 2022
    - 1002 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/unions.go

    // Check that overlong unions don't bog down type checking.
    // Disallow them for now.
    
    package p
    
    type t int
    
    type (
    	t00 t; t01 t; t02 t; t03 t; t04 t; t05 t; t06 t; t07 t; t08 t; t09 t
    	t10 t; t11 t; t12 t; t13 t; t14 t; t15 t; t16 t; t17 t; t18 t; t19 t
    	t20 t; t21 t; t22 t; t23 t; t24 t; t25 t; t26 t; t27 t; t28 t; t29 t
    	t30 t; t31 t; t32 t; t33 t; t34 t; t35 t; t36 t; t37 t; t38 t; t39 t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue6977.go

            //           for the incorrect optimization in the validType check
            //           (see TODO in validtype.go).
            // T10 interface { T9; T9 }
            // T11 interface { T10; T10 }
            // T12 interface { T11; T11 }
            // T13 interface { T12; T12 }
            // T14 interface { T13; T13 }
            // T15 interface { T14; T14 }
            // T16 interface { T15; T15 }
            // T17 interface { T16; T16 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:04:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue28251.go

            T7 = (*(T8))
            T8 = T
    )
    
    func (T6) m6() {}
    func _() { (T{}).m6 /* ERROR "cannot call pointer method m6 on T" */ () }
    func _() { (&T{}).m6() }
    
    type (
            T9 = *T10
            T10 = *T11
            T11 = T
    )
    
    func (T9 /* ERRORx `invalid receiver type (\*\*T|T9)` */ ) m9() {}
    func _() { (T{}).m9 /* ERROR "has no field or method m9" */ () }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/decls1.go

    	t6 byte = array[t1]
    	t7 byte = array[x /* ERROR "must be integer" */]
    	t8 *int = & /* ERRORx `cannot use .* variable declaration` */ a
    	t10 *int = &42 /* ERROR "cannot take address" */
    	t11 *complex64 = &v
    	t12 complex64 = -(u + *t11) / *&v
    	t13 int = a /* ERROR "shifted operand" */ << d
    	t14 int = i << j
    	t15 math /* ERROR "math is not a type" */
    	t16 math.xxx /* ERROR "undefined" */
    	t17 math /* ERROR "not a type" */ .Pi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/cycles5.go

    }
    
    
    // test cases for varias alias cycles
    
    type T10 /* ERROR "invalid recursive type" */ = *T10                 // issue #25141
    type T11 /* ERROR "invalid recursive type" */ = interface{ f(T11) }  // issue #23139
    
    // issue #18640
    type (
    	aa = bb
    	bb struct {
    		*aa
    	}
    )
    
    type (
    	a struct{ *b }
    	b = c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/cycles5a.go

    }
    
    
    // test cases for varias alias cycles
    
    type T10 /* ERROR "invalid recursive type" */ = *T10                 // issue #25141
    type T11 /* ERROR "invalid recursive type" */ = interface{ f(T11) }  // issue #23139
    
    // issue #18640
    type (
    	aa = bb
    	bb struct {
    		*aa
    	}
    )
    
    type (
    	a struct{ *b }
    	b = c
    	c struct{ *b }
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t9", OpXor64, c.config.Types.Int64, 0, nil, "t8", "v2"),
    			Valu("t10", OpNeg64, c.config.Types.Int64, 0, nil, "t9"),
    			Valu("t11", OpCom64, c.config.Types.Int64, 0, nil, "t10"),
    			Valu("t12", OpNeg64, c.config.Types.Int64, 0, nil, "t11"),
    			Valu("t13", OpFloor, c.config.Types.Float64, 0, nil, "v3"),
    			Valu("t14", OpSqrt, c.config.Types.Float64, 0, nil, "t13"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/testdata/exports.go

    	T6b chan (<-chan int)
    	T6c chan<- (chan int)
    	T7  <-chan *ast.File
    	T8  struct{}
    	T9  struct {
    		a    int
    		b, c float32
    		d    []string `go:"tag"`
    	}
    	T10 struct {
    		T8
    		T9
    		_ *T10
    	}
    	T11 map[int]string
    	T12 any
    	T13 interface {
    		m1()
    		m2(int) float32
    	}
    	T14 interface {
    		T12
    		T13
    		m3(x ...struct{}) []T9
    	}
    	T15 func()
    	T16 func(int)
    	T17 func(x int)
    	T18 func() float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
Back to top