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
Currently, when trying to call quick.Value on a struct that contains time.Time fields it
panics.
This happens because time.Time has unexported fields and does not implement the
quick.Generator interface.
The text was updated successfully, but these errors were encountered:
Not possible: the time package can't depend on reflect. reflect is too high-level, and
time is too low-level. (See go/build/deps_test.go for the details).
Also, testing/quick is barely used. It probably wouldn't exist in a hypothetical Go 2.
by ryanslade:
The text was updated successfully, but these errors were encountered: