Skip to content

Commit

Permalink
use correct package name
Browse files Browse the repository at this point in the history
  • Loading branch information
nehzata committed Mar 31, 2024
1 parent 12a6ee0 commit b3f9e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.hermit
3 changes: 1 addition & 2 deletions cmd/happy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"go/types"
"net/http"
"os"
"path"
"regexp"
"strings"
"sync"
Expand Down Expand Up @@ -449,7 +448,7 @@ func (g *genContext) TypeRef(t types.Type) (pkgRef, ref string) {
if pkgRef == g.pkg.PkgPath {
pkgRef = ""
} else {
ref = path.Base(pkgRef) + "." + ref
ref = named.Obj().Pkg().Name() + "." + ref
}
return
}
Expand Down

0 comments on commit b3f9e0d

Please sign in to comment.