Skip to content

A late-bound helper has priority over variable#353

Closed
sferencik wants to merge 1 commit intoHandlebars-Net:masterfrom
sferencik:argument-free-helper-before-variable
Closed

A late-bound helper has priority over variable#353
sferencik wants to merge 1 commit intoHandlebars-Net:masterfrom
sferencik:argument-free-helper-before-variable

Conversation

@sferencik
Copy link

This has already been the case for late-bound helpers with arguments
since they were easily recognised as helper calls. However, helper
resolution was not attempted for simple paths. E.g. for {{foo}}, if
"foo" was late-bound, we never attempted to invoke it, we only looked
for "foo" in the data.

This has already been the case for late-bound helpers _with arguments_
since they were easily recognised as helper calls. However, helper
resolution was not attempted for simple paths. E.g. for `{{foo}}`, if
"foo" was late-bound, we never attempted to invoke it, we only looked
for "foo" in the data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants