Open
Description
Given the following input:
const context = {
nested: {
awesome: function () {
return this.more;
},
more: 'Deeply awesome'
},
more: 'More awesome'
}
the following template:
yields 'More awesome'
, whereas the equivalent Javascript:
context.nested.awesome()
yields 'Deeply awesome'
More importantly,
{{#with nested}}
{{awesome}}
{{/with}}
also yields 'Deeply awesome'
.
Here is the js-fiddle demonstrating this
PR submitted with a failing test case: #1861.