go a 源码
golang a 代码
文件路径:/test/fixedbugs/issue15470.dir/a.go
package a
import "io"
type T interface {
M0(_ int)
M1(x, _ int) // _ (blank) caused crash
M2() (x, _ int)
}
type S struct{}
func (S) M0(_ int) {}
func (S) M1(x, _ int) {}
func (S) M2() (x, _ int) { return }
func (_ S) M3() {}
// Snippet from x/tools/godoc/analysis/analysis.go.
// Offending code from #5470.
type Link interface {
Start() int
End() int
Write(w io.Writer, _ int, start bool) // _ (blank) caused crash
}
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦