mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
Fix invalid autorelease in generated constructors, see #668
This commit is contained in:
parent
addb99eff2
commit
bdd825b026
@ -7848,7 +7848,7 @@ export class Compiler extends DiagnosticEmitter {
|
||||
// TODO: base constructor might be inlined, but makeCallDirect can't do this
|
||||
stmts.push(
|
||||
module.local_set(0,
|
||||
this.makeCallDirect(assert(baseClass.constructorInstance), operands, reportNode)
|
||||
this.makeCallDirect(assert(baseClass.constructorInstance), operands, reportNode, false, true)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user