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
To signal that an identifier should not be used, add a paragraph to its doc comment that begins withDeprecated: followed by some information about the deprecation, and a recommendation on what to use instead, if applicable.
The line that begins with Deprecated: for importer.ForCompiler is not at the start of its paragraph, so I expect it to apply only to the behavior described in that paragraph and not to the ForCompiler function overall.
What did you see instead?
The entire function is prominently marked as deprecated in the pkgsite UI.
The text was updated successfully, but these errors were encountered:
What is the URL of the page with the issue?
https://beta.pkg.go.dev/go/importer#ForCompiler
What is your user agent?
Mozilla/5.0 (X11; CrOS x86_64 13904.55.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.102 Safari/537.36
Screenshot
What did you do?
Attempt to read documentation for
importer.ForCompiler
.What did you expect to see?
https://golang.org/wiki/Deprecated says (emphasis mine):
The line that begins with
Deprecated:
forimporter.ForCompiler
is not at the start of its paragraph, so I expect it to apply only to the behavior described in that paragraph and not to theForCompiler
function overall.What did you see instead?
The entire function is prominently marked as deprecated in the pkgsite UI.
The text was updated successfully, but these errors were encountered: