3 ms·
Are you sure the first one doesn't compile (provided that you change println to fmt.Println, of course)? I can compile (with 6g) the hello world example from g
by dchest 17y ago
Are you sure the first one doesn't compile (provided that you change println to fmt.Println, of course)?
I can compile (with 6g) the hello world example from golang.org with any brace indentation style.
- marketer 17y agoMake sure you're running the latest parser code; do an 'hg sync' on the go tree. Or you can read the relevant mailing list thread: http://groups.google.com/group/golang-nuts/browse_thread/thread/9eb0c7c1f20db921 http://groups.google.com/group/golang-nuts/browse_thread/thr...
- dchest 17y agoHa-ha, you're right, thanks for the link! I think this is really bad.