3 // Copyright 2015 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // PR65755: Incorrect type descriptor for type defined within method.
15 func (S1) Fix() string {
19 return reflect.TypeOf(s{}).Field(0).Name
24 func (S2) Fix() string {
28 return reflect.TypeOf(s{}).Field(0).Name
34 if f1 != "f" || f2 != "g" {