diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-04-28 10:35:15 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-04-28 10:35:15 +0200 |
commit | c1ba1a0fec4aed430709030f98a3bdb90bfeea16 (patch) | |
tree | 3df18657e50a0313ed6defcda30e4474cb28a467 /test/fixedbugs/bug177.go | |
parent | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (diff) | |
download | golang-c1ba1a0fec4aed430709030f98a3bdb90bfeea16.tar.gz |
Imported Upstream version 2011.04.27upstream/2011.04.27
Diffstat (limited to 'test/fixedbugs/bug177.go')
-rw-r--r-- | test/fixedbugs/bug177.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug177.go b/test/fixedbugs/bug177.go index aec382388..a120ad0ab 100644 --- a/test/fixedbugs/bug177.go +++ b/test/fixedbugs/bug177.go @@ -12,7 +12,7 @@ type S1 struct{ i int } type S2 struct{ S1 } func main() { - typ := reflect.Typeof(S2{}) + typ := reflect.TypeOf(S2{}) f := typ.Field(0) if f.Name != "S1" || f.Anonymous != true { println("BUG: ", f.Name, f.Anonymous) |