blob: 16678db0ffdaeda8f3da4db663cd45af855449da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
export let passed = false;
let failed = false;
if (passed)
failed = true;
using a = { [Symbol.dispose]() { if (!failed) passed = true; } }
if (passed)
failed = true;
failed = true;
// Should trigger before
using b = { [Symbol.dispose]() { if (!passed) failed = false; } }
|