Closed Bug 1943434 Opened 22 days ago Closed 17 days ago

Eliminate usage of non-syntactic try-finally in handling explicit resource management

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: debadree333, Assigned: debadree333)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This causes issues in code like

function fn() {
  using a = { [Symbol.dispose]: () => { throw 1; } };
  try {
    return;
  } catch {}
}
Depends on: 1943435
Blocks: 1936757
Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → debadree333
Status: NEW → ASSIGNED
Attachment #9461744 - Attachment description: Bug 1943434: Eliminate usage of non-syntactic try-finally in handling explicit resource management. r?arai! → (WIP) Bug 1943434: Eliminate usage of non-syntactic try-finally in handling explicit resource management. r?arai!
Attachment #9461744 - Attachment description: (WIP) Bug 1943434: Eliminate usage of non-syntactic try-finally in handling explicit resource management. r?arai! → Bug 1943434: Eliminate usage of non-syntactic try-finally in handling explicit resource management. r?arai!
See Also: → 1930665
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/7babac04bcbf Eliminate usage of non-syntactic try-finally in handling explicit resource management. r=arai
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: