Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text/template: AddParseTree() panicing #7032

Closed
jpoehls opened this issue Dec 30, 2013 · 1 comment
Closed

text/template: AddParseTree() panicing #7032

jpoehls opened this issue Dec 30, 2013 · 1 comment

Comments

@jpoehls
Copy link

jpoehls commented Dec 30, 2013

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:

  1. repro.go (1005 bytes)
@josharian
Copy link
Contributor

Comment 1:

This issue was closed by revision ff00698.

Status changed to Fixed.

@jpoehls jpoehls added the fixed label Dec 31, 2013
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants