1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/testdata/confusing_results.go
2024-11-11 19:31:18 +01:00

21 lines
430 B
Go

package fixtures
func getfoo() (int, int, error) { // MATCH /unnamed results of the same type may be confusing, consider using named results/
}
func getBar(a, b int) (int, error, int) {
}
func Getbaz(a string, b int) (int, float32, string, string) { // MATCH /unnamed results of the same type may be confusing, consider using named results/
}
func GetTaz(a string, b int) string {
}
func (t *t) GetTaz(a int, b int) {
}