Commit 5b7e9adf authored by Daniel Morsing's avatar Daniel Morsing Committed by Russ Cox
Browse files

[release-branch.go1] cmd/gc: Suggest *T in error for x.(T) if it would work.

««« backport 33a62d86ca2f
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

»»»
parent e09cf61b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment