[FIX] compiler: add missing ; in some places

This commit is contained in:
Géry Debongnie
2022-01-24 13:25:00 +01:00
committed by Aaron Bohy
parent 6639d361c3
commit 0728c8333d
4 changed files with 144 additions and 144 deletions
+2 -2
View File
@@ -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)) {