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
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
What version of Go are you using (
go version
)?go 1.21
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?it can be reproduced using golang playground
https://go.dev/play/p/xaoxoY_M9Ao
What did you do?
please refer to the link above or the picture below:
https://go.dev/play/p/xaoxoY_M9Ao
What did you expect to see?
I expect variable m1 can be assigned a time value successfully
What did you see instead?
variable m1 failed to assign a value, but it works if I am using a struct with a time field
The text was updated successfully, but these errors were encountered: