ssa: set method.name to pkg.name if private

This commit is contained in:
visualfc
2024-06-05 22:24:51 +08:00
parent 226fd29af8
commit 2fce2318ed
14 changed files with 1056 additions and 32 deletions

View File

@@ -16,3 +16,18 @@ type Foo struct {
func (v Foo) Pb() *byte {
return v.pb
}
type Gamer interface {
initGame()
Load()
}
type Game struct {
}
func (g *Game) initGame() {
}
func (g *Game) Load() {
println("load")
}