commit | 1c2021ca142677fbfbbea950dd5a35986d86e678 | [log] [tgz] |
---|---|---|
author | Daniel Morsing <daniel.morsing@gmail.com> | Sat Sep 01 13:52:55 2012 -0400 |
committer | Russ Cox <rsc@golang.org> | Sat Sep 01 13:52:55 2012 -0400 |
tree | 04035afbc24479e8d14c446c1ffd16cd54ecb299 | |
parent | 8f3c2055bd17c08d82f1ea56299802e476788307 [diff] |
cmd/gc: Suggest *T in error for x.(T) if it would work. Accomplished by synchronizing the formatting of conversion errors between typecheck.c and subr.c Fixes #3984. R=golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6500064