We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edbea2 commit 6af9124Copy full SHA for 6af9124
src/compiler.ts
@@ -10420,7 +10420,7 @@ export class Compiler extends DiagnosticEmitter {
10420
10421
const valueExpr: ExpressionRef =
10422
initializerNode ? this.compileExpression(initializerNode, fieldType, Constraints.ConvImplicit)
10423
- : this.makeZero(fieldType);
+ : this.makeZero(fieldType);
10424
if(unmanagedClass || !this.canOptimizeZeroInitialization(valueExpr)) {
10425
let expr = this.makeCallDirect(setterInstance, [
10426
module.local_get(thisLocalIndex, sizeTypeRef),
0 commit comments