Description encoding/gob: improve interface assignment error message
During the glob decoding process interface values are set to concrete
values after a test for assignability. If the assignability test fails
a slightly vague error message is produced. While technically accurate
the error message does not clearly describe the problem.
Rewrite the error message to include the usage of the word assignable,
which makes it clear the concrete value type is not assignable to the
interface value type.
Fixes issue 6467.
Patch Set 1 #Patch Set 2 : diff -r 1a0714819799 https://code.google.com/p/go #Patch Set 3 : diff -r 1a0714819799 https://code.google.com/p/go #MessagesTotal messages: 5
|