diff options
Diffstat (limited to 'test/fixedbugs/bug057.go')
-rw-r--r-- | test/fixedbugs/bug057.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fixedbugs/bug057.go b/test/fixedbugs/bug057.go index 1c959b8c8..3847dffb8 100644 --- a/test/fixedbugs/bug057.go +++ b/test/fixedbugs/bug057.go @@ -7,15 +7,15 @@ package main type T struct { - s string; + s string; } func main() { - s := ""; - l1 := len(s); - var t T; - l2 := len(t.s); // BUG: cannot take len() of a string field + s := ""; + l1 := len(s); + var t T; + l2 := len(t.s); // BUG: cannot take len() of a string field } /* |