]> Cypherpunks repositories - gostls13.git/commit
spec: for non-constant map keys, add reference to evaluation order section
authorRobert Griesemer <gri@golang.org>
Fri, 24 Mar 2017 16:19:46 +0000 (09:19 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 24 Mar 2017 18:51:10 +0000 (18:51 +0000)
commit369d1083a74b6a965a33510489ab381d937812ae
tree88d88b8fed6770b46a50892459347930b08952d1
parente00e57d67cea33d4faef8506ced6f3c2416cfd15
spec: for non-constant map keys, add reference to evaluation order section

The section on map literals mentions constant map keys but doesn't say
what happens for equal non-constant map keys - that is covered in the
section on evaluation order. Added respective link for clarity.

Fixes #19689.

Change-Id: If9a5368ba02e8250d4bb0a1d60d0de26a1f37bbb
Reviewed-on: https://go-review.googlesource.com/38598
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html