commit | 213abeedc85ed638a878f9457e422897fda3a111 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sat Nov 28 18:47:42 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Nov 30 20:10:15 2020 +0000 |
tree | eb43a81206c7ccfd71444c20b63921c13719ea3c | |
parent | af683486b4de5503b2b6d9ae974a2ab1eeb92290 [diff] |
compiler: use correct assignment order for type assertions For "a, b := v.(T)" we must set a before b. For golang/go#13433 Change-Id: I68512ad933667b809ca935b204a18e4ad6a92d36 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273906 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>