libgo: Update to weekly.2011-11-02.

From-SVN: r181964
This commit is contained in:
Ian Lance Taylor 2011-12-03 02:17:34 +00:00
parent 02e9018f16
commit 2fd401c8f1
499 changed files with 4056 additions and 4239 deletions

View file

@ -6,7 +6,6 @@ package json
import (
"bytes"
"os"
"reflect"
"strings"
"testing"
@ -30,7 +29,7 @@ type unmarshaler struct {
T bool
}
func (u *unmarshaler) UnmarshalJSON(b []byte) os.Error {
func (u *unmarshaler) UnmarshalJSON(b []byte) error {
*u = unmarshaler{true} // All we need to see that UnmarshalJson is called.
return nil
}
@ -52,7 +51,7 @@ type unmarshalTest struct {
in string
ptr interface{}
out interface{}
err os.Error
err error
}
var unmarshalTests = []unmarshalTest{