You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b040a3
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -233,7 +234,9 @@ test('empty catch: a variable assigned in the try keeps its earlier value as the
233
234
'function f(src: S) {\n let x = 1;\n try {\n x = load();\n } catch {}\n ({ x } = src);\n [x] = [2];\n}',
234
235
'function f(xs: number[]) {\n let x = 1;\n try {\n x = load();\n } catch {}\n return xs.map((x) => x * 2);\n}',
235
236
'function f(xs: number[]) {\n let x = 1;\n try {\n x = load();\n } catch {}\n for (const x of xs) use(x);\n if (xs.length) { const x = 2; use(x); }\n xs.forEach(() => { var x = 3; use(x); });\n}',
0 commit comments