]> Cypherpunks repositories - gostls13.git/commit
reflect: document DeepEqual, fix case of maps with NaN keys
authorRuss Cox <rsc@golang.org>
Wed, 25 Nov 2015 15:45:59 +0000 (10:45 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 11 Dec 2015 05:50:05 +0000 (05:50 +0000)
commita77182f47f0e55789f06c13accd694df60d85f07
treee32b408be5b3a6253a57ddec0a7a12cb46d9c34a
parent617c93ce740c3c3cc28cdd1a0d712be183d0b328
reflect: document DeepEqual, fix case of maps with NaN keys

The meaning of DeepEqual has never been specified.
Do that.

Also fix bug involving maps with NaN keys.

Except for the map bug fix, there should be no semantic changes here.

Fixes #12025.

Change-Id: Ied562cf543a22ec645d42bdb9b41d451c16b1f21
Reviewed-on: https://go-review.googlesource.com/17450
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
src/reflect/all_test.go
src/reflect/deepequal.go