mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] compiler: add missing ; in some places
This commit is contained in:
committed by
Aaron Bohy
parent
6639d361c3
commit
0728c8333d
@@ -1111,7 +1111,7 @@ export class CodeGenerator {
|
||||
let propVar: string;
|
||||
if ((slotDef && (ast.dynamicProps || hasSlotsProp)) || this.dev) {
|
||||
propVar = this.generateId("props");
|
||||
this.addLine(`const ${propVar!} = ${propString}`);
|
||||
this.addLine(`const ${propVar!} = ${propString};`);
|
||||
propString = propVar!;
|
||||
}
|
||||
|
||||
@@ -1130,7 +1130,7 @@ export class CodeGenerator {
|
||||
}
|
||||
|
||||
if (this.dev) {
|
||||
this.addLine(`helpers.validateProps(${expr}, ${propVar!}, ctx)`);
|
||||
this.addLine(`helpers.validateProps(${expr}, ${propVar!}, ctx);`);
|
||||
}
|
||||
|
||||
if (block && (ctx.forceNewBlock === false || ctx.tKeyExpr)) {
|
||||
|
||||
Reference in New Issue
Block a user