[IMP] components: crash when using unknown suffix/modifiers

This commit is contained in:
Géry Debongnie
2022-01-19 11:35:34 +01:00
committed by Aaron Bohy
parent a2e8abc243
commit 89d63ff29a
4 changed files with 35 additions and 5 deletions
@@ -122,7 +122,7 @@ exports[`basics support prop names that aren't valid bare object property names
let { text, createBlock, list, multi, html, toggler, component, comment } = bdom;
return function template(ctx, node, key = \\"\\") {
return component(\`Child\`, {'some-dashed-prop': 5,'a.b': 'keyword prop'}, key + \`__1\`, node, ctx);
return component(\`Child\`, {'some-dashed-prop': 5}, key + \`__1\`, node, ctx);
}
}"
`;