-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.release-blocker
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
go1.11beta1
Does this issue reproduce with the latest release?
Yes, with the latest beta.
What operating system and processor architecture are you using (go env
)?
GOOS="linux"
GOARCH="amd64"
What did you do?
Ran all tests from a closed source monorepo with go1.11beta1
and one test fails with the new beta.
The test is somewhat bigger but the core error is that a config struct that holds compiled regexps among other things gets marshaled to json and unmarshaled back.
reflect.DeepEqual
is used to test the equality of the result.
Easiest way I could find to reproduce: https://play.golang.org/p/5WB8WJbQG15
go1.10
returns true
, while go1.11beta1
returns false
What did you expect to see?
result true
for go1.11beta1 as it is in go1.10
What did you see instead?
result false
I don't think reflect.DeepEqual
is even a good idea here but it's still a behavior change.
as
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.release-blocker