xjst icon indicating copy to clipboard operation
xjst copied to clipboard

applyNext: too much recursion bug

Open aristov opened this issue 13 years ago • 2 comments

xjst:

template(this.a === 'a') {
    return 'world';
}

template(this.a === 'a') {
    return applyNext() + '!';
}

template(this.a === 'a') {
    return 'hello ' + applyNext();
}

js:

exports.apply.call({ a: 'a' })

Result: "InternalError: too much recursion" Expect 'hello world!' as result.

aristov avatar Feb 08 '13 14:02 aristov

ping

aristov avatar Apr 08 '13 15:04 aristov

should work after 0.4.12

veged avatar May 21 '13 10:05 veged