You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See https://golang.org/pkg/go/types/#example_Info
The example isn't runnable because two functions func mode(tv types.TypeAndValue) string and func exprString(fset *token.FileSet, expr ast.Expr) string
are declared outside of func ExampleInfo().
Ideally, tools should consult this situation.
The text was updated successfully, but these errors were encountered:
See https://golang.org/pkg/go/types/#example_Info
The example isn't runnable because two functions
func mode(tv types.TypeAndValue) string
andfunc exprString(fset *token.FileSet, expr ast.Expr) string
are declared outside of
func ExampleInfo()
.Ideally, tools should consult this situation.
The text was updated successfully, but these errors were encountered: