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
What steps will reproduce the problem?
*File.Sync() returns syscall.EINVAL on posix platforms when *File is nil, this is
different to all the other *File methods which return ErrInvalid.
What is the expected output? What do you see instead?
Although not documented, the other methods on this type lead me to believe that
*File.Sync() should return ErrInvalid on all platforms when the receiver is nil.
Please use labels and text to provide additional information.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: