]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make duplicate anonymous interface output deterministic
authorDan Johnson <computerdruid@google.com>
Wed, 15 Aug 2018 23:48:44 +0000 (16:48 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 17 Aug 2018 15:34:50 +0000 (15:34 +0000)
commit876c6d1f274a3d508fa97558ca6765cf324c2939
tree0a641a9b0bbaf79f1f51403902514d57306c7f27
parent751ea9369a9bd3b30daafced4d1c172541076617
cmd/compile: make duplicate anonymous interface output deterministic

Ranging through a map is non-deterministic and there can be duplicate
entries in the set (with the same name) which don't have identical
definitions in some cases.

Fixes #27013

Change-Id: I378c48bc359c10b25b9238e0c663b498455b19fd
Reviewed-on: https://go-review.googlesource.com/129515
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/gc/reflect.go