Skip to content

reflect: Value's == behavior changed between 1.3 and 1.4 #9504

@hsinhoyeh

Description

@hsinhoyeh

the following code snippet has different behavior when I run it on 1.3 and 1.4 respectively.
code are in https://play.golang.org/p/yfy7ZKqU1Y

when I run on 1.3, we have the following response:

false
0
0x0
true

while, It report false in the last println in golang 1.4

false
0
0x0
false

not sure whether it is a bug or something

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions