summaryrefslogtreecommitdiff
path: root/usr/r/reflect/main.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-10-17 10:58:34 -0700
committerRob Pike <r@golang.org>2008-10-17 10:58:34 -0700
commita9f3d4d05694dadd7689d958a145d6982a2fd6bd (patch)
treec057cb7d69557791d8f60f1e0930e3ce374672aa /usr/r/reflect/main.go
parenta6d2cec67f905c5304eac154c82de2de001b2a77 (diff)
downloadgolang-a9f3d4d05694dadd7689d958a145d6982a2fd6bd.tar.gz
add simple synchronization mechanism.
R=rsc DELTA=25 (19 added, 1 deleted, 5 changed) OCL=17346 CL=17346
Diffstat (limited to 'usr/r/reflect/main.go')
-rw-r--r--usr/r/reflect/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/r/reflect/main.go b/usr/r/reflect/main.go
index f46b6d81e..0348cef9f 100644
--- a/usr/r/reflect/main.go
+++ b/usr/r/reflect/main.go
@@ -39,6 +39,6 @@ func main() {
t = reflect.ParseTypeString("*(a int8, b int32)");
s = reflect.ToString(t); print(s, "\n");
- t = reflect.ParseTypeString("struct {c *(? *chan *int32, ? *int8)}");
+ t = reflect.ParseTypeString("struct {c *(? *chan *P.integer, ? *int8)}");
s = reflect.ToString(t); print(s, "\n");
}