]> Cypherpunks repositories - gostls13.git/commit
reflect: use SelectDir instead of uintptr in runtimeSelect
authorDominik Honnef <dominik@honnef.co>
Mon, 14 Mar 2016 00:59:22 +0000 (01:59 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 14 Mar 2016 01:55:31 +0000 (01:55 +0000)
commit368507bb6fde52fc60797ced83a25e13b1c6b19d
tree3765931ee819c4023d298a794ae475c892d9ff66
parent43ed65f869828f8dfc2f860b8ca1f7648e6bb93d
reflect: use SelectDir instead of uintptr in runtimeSelect

And fix the wrong comment.

Initially found this because the comment was wrong about the possible
values. Then noticed that there doesn't seem to be any reason to use
uintptr over SelectDir.

Change-Id: I4f9f9640e49d89e558ed00bd99e57dab890785f5
Reviewed-on: https://go-review.googlesource.com/20655
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/reflect/value.go