unterminated_bracket

Diagnostic `nanook::template::unterminated_bracket`

Summary

unterminated `[` map lookup

Help

close the lookup with ]

Details

When this fires

A [ opened a map lookup that never got its matching ] before the expression block ended. Parse-time error, caught by nanook check.

What to check

If the error span points at the start of [ but the rest looks fine, check whether the }} closing the expression came too early.

broken: {{ labels["env" }}
broken: {{ labels[trigger.name }}
fixed:  {{ labels["env"] }}
fixed:  {{ labels[trigger.name] }}