Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd88f1e

Browse filesBrowse files
committed
Adding regression test
1 parent 586ac55 commit cd88f1e
Copy full SHA for cd88f1e

1 file changed

+2Lines changed: 2 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/cases/conformance/controlFlow/controlFlowWhileStatement.ts‎

Copy file name to clipboardExpand all lines: tests/cases/conformance/controlFlow/controlFlowWhileStatement.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ function e() {
3737
let x: string | number;
3838
x = "";
3939
while (cond) {
40+
x; // string | number
4041
x = 42;
42+
x; // number
4143
}
4244
x; // string | number
4345
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.