/ go Public
x/tools/gopls: conflicting interfaces states in 'missing method' error instead of 'ambiguous' #47381
Issues related to the Go language server, gopls.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
This label describes issues relating to any tools in the x/tools repository.
What did you do?
Here is the code as well:
What did you expect to see?
A gopls error suggesting there is a conflict or ambiguity because the interface
DogBarkerhave a conflicting
Bark()method from the two interfaces
Barker. The error can be on the variable
var _ ConflictingDog = (*Huski)(nil)as it is on play.golang.org, or perhaps on the interface
DogBarkerdirectly although I'm not sure about side consequences of this.
What did you see instead?
The text was updated successfully, but these errors were encountered: