Commit graph

1 commit

Author SHA1 Message Date
Brad Erickson
cbb021173c fix: panic on invalid NodeRenderer in renderer
Uses the previously ignored type check ok value with a similar
structure to parse.go for the With* functional options.

Changes:
runtime error: invalid memory address or nil pointer dereference
to:
<TypeName> is not a NodeRenderer
2020-12-27 11:23:28 -08:00