OSDN Git Service

libgo: Update to weekly.2011-11-02.
[pf3gnuchains/gcc-fork.git] / libgo / go / reflect / value.go
index 4a21075..dbdfa09 100644 (file)
@@ -71,7 +71,7 @@ type ValueError struct {
        Kind   Kind
 }
 
-func (e *ValueError) String() string {
+func (e *ValueError) Error() string {
        if e.Kind == 0 {
                return "reflect: call of " + e.Method + " on zero Value"
        }