Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull", "hg update default", rebuild, and
retry
what you did to
reproduce the problem. Thanks.
What steps will reproduce the problem?
1.Running a program
2.
3.
What is the expected output?
{"A":[]}
What do you see instead?
{"A":null}
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
ubuntu natty 11.04
Which revision are you using? (hg identify)
weekly.2012-02-22 +96bd78e7d35e
Please provide any additional information below.
According to docs arrays and slices are encoded as arrays but zero size arrays in struct
gives me unexpected output.
http://play.golang.org/p/TUprfnPIo5
The text was updated successfully, but these errors were encountered:
by ashish.jain@raweng.com:
The text was updated successfully, but these errors were encountered: