aboutsummaryrefslogtreecommitdiff
path: root/src/lib/time
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-08 15:40:14 -0700
committerRuss Cox <rsc@golang.org>2009-05-08 15:40:14 -0700
commit917aa35f8ff95052459538c2e5bae80d1c9a307e (patch)
treeac8aca82e0cdf34df99f8ef940c5ccd74117e926 /src/lib/time
parentcd3ab57a9c2d6088ad1deef97786d5b9f01343f6 (diff)
downloadgo-917aa35f8ff95052459538c2e5bae80d1c9a307e.tar.xz
implications of stricter type equality:
if both types are named, they must be the same type (arising from the same declaration). R=r,gri DELTA=44 (21 added, 4 deleted, 19 changed) OCL=28436 CL=28577
Diffstat (limited to 'src/lib/time')
-rw-r--r--src/lib/time/zoneinfo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/time/zoneinfo.go b/src/lib/time/zoneinfo.go
index 2702285c01..751afc9314 100644
--- a/src/lib/time/zoneinfo.go
+++ b/src/lib/time/zoneinfo.go
@@ -236,7 +236,7 @@ func readinfofile(name string) ([]zonetime, os.Error) {
Error:
if tzerr, ok := err.(TimeZoneError); ok {
- tzerr.ErrorString += ": " + name
+ tzerr.ErrorString = os.ErrorString(tzerr.String() + ": " + name)
}
return nil, err
}