// errorcheck// Copyright 2018 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// Verify that follow-on errors due to conflicting// struct field and method names are suppressed.packageptypeTstruct{a,b,cintE}typeEstruct{}func(T)b(){}// ERROR "field and method named b"func(*T)E(){}// ERROR "field and method named E"func_(){varxT_=x.a_=x.b// no follow-on error herex.b()// no follow-on error here_=x.c_=x.E// no follow-on error herex.E()// no follow-on error here}