[FIX] compiler: call dynamic templates with correct this

This commit is contained in:
Géry Debongnie
2021-11-25 17:22:31 +01:00
committed by Mathieu Duckerts-Antoine
parent 13c3178760
commit a1d435c5a5
6 changed files with 61 additions and 6 deletions
@@ -2388,7 +2388,7 @@ exports[`slots t-slot within dynamic t-call 4`] = `
function slot2(ctx, node, key) {
const template4 = (ctx['tcallTemplate']);
return call(template4, ctx, node, key + \`__3\`);
return call(this, template4, ctx, node, key + \`__3\`);
}
return function template(ctx, node, key = \\"\\") {