You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
variable name resolution in bool sections that are inside list sections seems to be broken: variables are resolved in the outer context first, before checking the inner one.
Let's take a look at this minimal example that can be added to the testcases in mustache_test.go and will make it fail immediately:
Hi @cbroglie 👋
variable name resolution in bool sections that are inside list sections seems to be broken: variables are resolved in the outer context first, before checking the inner one.
Let's take a look at this minimal example that can be added to the testcases in
mustache_test.go
and will make it fail immediately:So, the code is:
section
-> cool 👍bool
section because that's true -> cool 👍x
, but starts at the bottom of the stack (ie. the outer context) and finds“broken”
there -> not cool. 😭The text was updated successfully, but these errors were encountered: