Commit 980f9fd
authored
Merge pull request microsoft#11848 from Microsoft/AddJavaScriptSemanticErrorsToSyntacticErrors
Fix for microsoft#11719 - TSServer: JS files should display syntactic errors for TS syntax26 files changed
+76-27Lines changed: 76 additions & 27 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests/cases/fourslash
- server
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+13-7Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
719 | 719 | |
720 | 720 | |
721 | 721 | |
| 722 | + |
| 723 | + |
| 724 | + |
| 725 | + |
| 726 | + |
| 727 | + |
| 728 | + |
| 729 | + |
722 | 730 | |
723 | 731 | |
724 | 732 | |
| ||
751 | 759 | |
752 | 760 | |
753 | 761 | |
754 | | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
| 762 | + |
| 763 | + |
| 764 | + |
| 765 | + |
760 | 766 | |
761 | 767 | |
762 | 768 | |
763 | 769 | |
764 | 770 | |
765 | 771 | |
766 | 772 | |
767 | | - |
| 773 | + |
768 | 774 | |
769 | 775 | |
770 | 776 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2073 | 2073 | |
2074 | 2074 | |
2075 | 2075 | |
| 2076 | + |
| 2077 | + |
| 2078 | + |
2076 | 2079 | |
2077 | 2080 | |
2078 | 2081 | |
|
Collapse file
…ash/getJavaScriptSemanticDiagnostics1.ts …sh/getJavaScriptSyntacticDiagnostics1.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics1.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics1.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics1.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics1.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics1.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics10.ts …h/getJavaScriptSyntacticDiagnostics10.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics10.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics10.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics10.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics10.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics10.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics11.ts …h/getJavaScriptSyntacticDiagnostics11.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics11.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics11.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics11.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics11.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics11.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics12.ts …h/getJavaScriptSyntacticDiagnostics12.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics12.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics12.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics12.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics12.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics12.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics13.ts …h/getJavaScriptSyntacticDiagnostics13.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics13.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics13.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics13.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics13.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics13.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics14.ts …h/getJavaScriptSyntacticDiagnostics14.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics14.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics14.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics14.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics14.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics14.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics15.ts …h/getJavaScriptSyntacticDiagnostics15.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics15.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics15.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics15.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics15.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics15.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
…sh/getJavaScriptSemanticDiagnostics16.ts …h/getJavaScriptSyntacticDiagnostics16.tstests/cases/fourslash/getJavaScriptSemanticDiagnostics16.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics16.ts tests/cases/fourslash/getJavaScriptSemanticDiagnostics16.ts renamed to tests/cases/fourslash/getJavaScriptSyntacticDiagnostics16.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/getJavaScriptSyntacticDiagnostics16.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
0 commit comments