Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

compile panics when there is error in the mustache templating #107

Description

@zramsay

in this particular case i was iterating over a list, and accidentally used a backslash instead of a forward slash e.g.,

{{#tasks}}
- {{.}}
{{\tasks}}

The correct snippet

{{#tasks}}
- {{.}}
{{/tasks}}

the error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x135acc8]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions