Skip to content

Commit 6af9124

Browse files
committed
fix
1 parent 7edbea2 commit 6af9124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10420,7 +10420,7 @@ export class Compiler extends DiagnosticEmitter {
1042010420

1042110421
const valueExpr: ExpressionRef =
1042210422
initializerNode ? this.compileExpression(initializerNode, fieldType, Constraints.ConvImplicit)
10423-
: this.makeZero(fieldType);
10423+
: this.makeZero(fieldType);
1042410424
if(unmanagedClass || !this.canOptimizeZeroInitialization(valueExpr)) {
1042510425
let expr = this.makeCallDirect(setterInstance, [
1042610426
module.local_get(thisLocalIndex, sizeTypeRef),

0 commit comments

Comments
 (0)