Debian Codegraph @

simple/s1025/testdata/go1.18/CheckRedundantSprintf/LintRedundantSprintf.go.golden

raw
1 package pkg
2
3 import "fmt"
4
5 type MyByte byte
6 type T1 []MyByte
7
8 func fn() {
9 var t1 T1
10 _ = string(t1) //@ diag(`underlying type is a slice of bytes`)
11 }