| Index: go/gcimporter/gcimporter_test.go |
| =================================================================== |
| --- a/go/gcimporter/gcimporter_test.go |
| +++ b/go/gcimporter/gcimporter_test.go |
| @@ -207,7 +207,7 @@ |
| } |
| mutex := imports["sync"].Scope().Lookup("Mutex").(*types.TypeName).Type() |
| - mset := types.NewMethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex |
| + mset := types.MethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex |
| sel := mset.Lookup(nil, "Lock") |
| lock := sel.Obj().(*types.Func) |
| if got, want := lock.Pkg().Path(), "sync"; got != want { |