Skip to content

Commit c60e514

Browse files
fix: Fix temp. local confusion in indexed assignment compilation (#1703)
1 parent 0d06d37 commit c60e514

File tree

5 files changed

+6760
-1
lines changed

5 files changed

+6760
-1
lines changed

Diff for: NOTICE

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ under the licensing terms detailed in LICENSE:
3333
* Piotr Oleś <[email protected]>
3434
* Saúl Cabrera <[email protected]>
3535
* Chance Snow <[email protected]>
36+
* Peter Salomonsen <[email protected]>
3637

3738
Portions of this software are derived from third-party works licensed under
3839
the following terms:

Diff for: src/compiler.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5988,7 +5988,6 @@ export class Compiler extends DiagnosticEmitter {
59885988
let tempTarget = flow.getTempLocal(thisType);
59895989
let tempElement = flow.getTempLocal(elementType);
59905990
let returnType = getterInstance.signature.returnType;
5991-
flow.freeTempLocal(tempTarget);
59925991
let ret = module.block(null, [
59935992
this.makeCallDirect(setterInstance, [
59945993
module.local_tee(tempTarget.index, thisExpr, thisType.isManaged),

0 commit comments

Comments
 (0)