panic: runtime error: invalid memory address or nil pointer dereference
What steps will reproduce the problem?
1. Call AddParseTree() prior to calling Parse() causes a panic.
2. Example: http://play.golang.org/p/IGTtIdGfqa (also attached)
Which operating system are you using?
OS X 10.9.1
Which version are you using? (run 'go version')
go1.2 darwin/amd64
Link to discussion on mailing list:
https://groups.google.com/forum/#!topic/golang-nuts/C8jPINo8sHc
Attachments:
- repro.go (1005 bytes)