Skip to content

Commit 099e458

Browse files
committed
add The string function output contains the package name
1 parent 2b2ff77 commit 099e458

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

types_selector.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ func (t *typeSelector) ToChild() (Type, bool) {
5959
}
6060

6161
func (t *typeSelector) String() string {
62-
if t.x.Kind() == Scope {
63-
return t.sel
64-
}
6562
return fmt.Sprintf("%v.%v", t.x, t.sel)
6663
}
6764

0 commit comments

Comments
 (0)