gotypes: fix typeandvalue output

Change-Id: Id9a25bacfa670091e0b02efb6110d758ec5afca5
Reviewed-on: https://go-review.googlesource.com/23567
Reviewed-by: Alan Donovan <adonovan@google.com>
diff --git a/gotypes/README.md b/gotypes/README.md
index 0437b3f..5b80b8c 100644
--- a/gotypes/README.md
+++ b/gotypes/README.md
@@ -1492,7 +1492,11 @@
                                 type:  func(map[string]int) map[string]int
 map[string]int                  mode:  type
                                 type:  map[string]int
-m["hello"]                      mode:  value,assignable,ok
+string                          mode:  type
+                                type:  string
+int                             mode:  type
+                                type:  int
+m["hello, "+"world"]            mode:  value,assignable,ok
                                 type:  (int, bool)
 m                               mode:  value,addressable,assignable
                                 type:  map[string]int
diff --git a/gotypes/typeandvalue/main.go b/gotypes/typeandvalue/main.go
index 96b7bf0..8a6fc79 100644
--- a/gotypes/typeandvalue/main.go
+++ b/gotypes/typeandvalue/main.go
@@ -104,7 +104,11 @@
                                 type:  func(map[string]int) map[string]int
 map[string]int                  mode:  type
                                 type:  map[string]int
-m["hello"]                      mode:  value,assignable,ok
+string                          mode:  type
+                                type:  string
+int                             mode:  type
+                                type:  int
+m["hello, "+"world"]            mode:  value,assignable,ok
                                 type:  (int, bool)
 m                               mode:  value,addressable,assignable
                                 type:  map[string]int