Home | History | Annotate | Download | only in reflect

Lines Matching refs:outer

2590 type outer struct {
2596 func (*outer) M() {}
2599 typ := TypeOf((*outer)(nil))
2600 if typ.NumMethod() != 1 || typ.Method(0).Func.Pointer() != ValueOf((*outer).M).Pointer() {
2601 t.Errorf("Wrong method table for outer: (M=%p)", (*outer).M)
5465 // type Outer struct {
5469 // the compiler generates the implementation of (*Outer).M dispatching to the embedded Inner.
5471 // func (p *Outer) M() {
5490 // during (*Outer).M the receiver is an *Outer while during (*Inner).M the receiver in the same
5492 // by reflect, the receiver is always an *Outer. Copying the modified receiver pointer
5495 // memory as if it were an *Outer. If the two have different memory layouts, the
5499 // (Inner.P1 and Inner.P2 below) as an interface (Outer.R below). Because interpreting
5505 type Outer struct {
5511 X *Outer
5519 // argument frame, typed as a *Outer.
5537 p := &Outer{Inner: new(Inner)}