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
And has been ever since it was introduced in 2013 by @rsc. The godoc says:
// If returnImports is true and name denotes a Go program, matchFile reads
// until the end of the imports (and returns that data) even though it only
// considers text until the first non-comment.
Should the method actually use the bool parameter, or should it be removed from the signature and godoc? The func is currently called called with both true and false.
And has been ever since it was introduced in 2013 by @rsc. The godoc says:
Should the method actually use the bool parameter, or should it be removed from the signature and godoc? The func is currently called called with both
true
andfalse
.Found by https://github.com/mvdan/unparam.
The text was updated successfully, but these errors were encountered: