Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 491 for upfn (0.03 sec)

  1. test/fixedbugs/issue6703s.go

    // Check for cycles in a pointer method expression.
    
    package ptrmethexpr
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 370 bytes
    - Viewed (0)
  2. test/fixedbugs/issue6703r.go

    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    func g() E {
    	return E{0}
    }
    
    type E struct{ T }
    
    var (
    	e E
    	x = g().m() // ERROR "initialization cycle|depends upon itself" 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 477 bytes
    - Viewed (0)
  3. test/fixedbugs/bug459.go

    // Issue 3890: missing detection of init cycle involving
    // method calls in function bodies.
    
    package flag
    
    var commandLine = NewFlagSet() // ERROR "initialization cycle|depends upon itself"
    
    type FlagSet struct {
    }
    
    func (f *FlagSet) failf(format string, a ...interface{}) {
    	f.usage()
    }
    
    func (f *FlagSet) usage() {
    	if f == commandLine {
    		panic(3)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 681 bytes
    - Viewed (0)
  4. test/fixedbugs/issue6703k.go

    // Check for cycles in a method value.
    
    package methvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    var (
    	t T
    	x = t.m // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 359 bytes
    - Viewed (0)
  5. test/fixedbugs/issue6703u.go

    // Check for cycles in a pointer literal's method value.
    
    package ptrlitmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 384 bytes
    - Viewed (0)
  6. test/fixedbugs/issue6703w.go

    // Check for cycles in a pointer value's method value.
    
    package ptrmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    var (
    	p *T
    	x = p.pm // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 382 bytes
    - Viewed (0)
  7. test/fixedbugs/issue6703i.go

    package embedlitmethvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 407 bytes
    - Viewed (0)
  8. test/fixedbugs/issue6703p.go

    package embedmethcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    var (
    	e E
    	x = e.m() // ERROR "initialization cycle|depends upon itself" 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 404 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703m.go

    package funcmethvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    func f() T {
    	return T(0)
    }
    
    var (
    	t T
    	x = f().m // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 437 bytes
    - Viewed (0)
  10. test/fixedbugs/issue6703y.go

    // from a function call.
    
    package funcptrmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    func pf() *T {
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 447 bytes
    - Viewed (0)
Back to top