Commit 36dfd77
Andy
Parse an object literal property as shorthand unless followed by '(' or ':' (microsoft#28121)
1 parent abce9ae commit 36dfd77Copy full SHA for 36dfd77
40 files changed
+163-93Lines changed: 163 additions & 93 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- compiler
- testRunner/unittests
- tests
- baselines/reference
- cases
- conformance/parser/ecmascript5/RegressionTests
- fourslash
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4738 | 4738 | |
4739 | 4739 | |
4740 | 4740 | |
4741 | | - |
4742 | | - |
| 4741 | + |
4743 | 4742 | |
4744 | 4743 | |
4745 | 4744 | |
|
Collapse file
src/testRunner/unittests/convertCompilerOptionsFromJson.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/convertCompilerOptionsFromJson.ts+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
596 | 596 | |
597 | 597 | |
598 | 598 | |
599 | | - |
| 599 | + |
| 600 | + |
600 | 601 | |
601 | 602 | |
602 | 603 | |
|
Collapse file
src/testRunner/unittests/tsconfigParsing.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsconfigParsing.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
141 | 141 | |
142 | 142 | |
143 | 143 | |
144 | | - |
| 144 | + |
145 | 145 | |
146 | 146 | |
147 | 147 | |
|
Collapse file
tests/baselines/reference/incompleteObjectLiteral1.errors.txt
Copy file name to clipboard+6-3Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | | - |
| 5 | + |
5 | 6 | |
| 7 | + |
| 8 | + |
6 | 9 | |
7 | | - |
| 10 | + |
8 | 11 | |
Collapse file
tests/baselines/reference/incompleteObjectLiteral1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/incompleteObjectLiteral1.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
Collapse file
tests/baselines/reference/incompleteObjectLiteral1.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/incompleteObjectLiteral1.types-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | 6 | |
8 | 7 | |
9 | 8 | |
|
Collapse file
tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.errors.txt+20-5Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
11 | | - |
12 | | - |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
13 | 18 | |
14 | 19 | |
15 | 20 | |
16 | | - |
| 21 | + |
17 | 22 | |
18 | 23 | |
19 | 24 | |
| ||
47 | 52 | |
48 | 53 | |
49 | 54 | |
| 55 | + |
| 56 | + |
50 | 57 | |
51 | | - |
| 58 | + |
52 | 59 | |
| 60 | + |
| 61 | + |
53 | 62 | |
| 63 | + |
| 64 | + |
54 | 65 | |
55 | 66 | |
| 67 | + |
| 68 | + |
56 | 69 | |
| 70 | + |
| 71 | + |
57 | 72 | |
58 | 73 | |
59 | 74 | |
|
Collapse file
tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js+9-5Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
| ||
33 | 34 | |
34 | 35 | |
35 | 36 | |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
41 | 45 | |
Collapse file
tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.symbols+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
| 44 | + |
| 45 | + |
43 | 46 | |
44 | 47 | |
45 | 48 | |
| 49 | + |
| 50 | + |
46 | 51 | |
47 | 52 | |
48 | 53 | |
|
Collapse file
tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.types+7-4Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
45 | | - |
| 44 | + |
| 45 | + |
46 | 46 | |
47 | 47 | |
48 | 48 | |
| 49 | + |
49 | 50 | |
50 | 51 | |
51 | 52 | |
52 | 53 | |
53 | 54 | |
54 | 55 | |
55 | | - |
| 56 | + |
56 | 57 | |
| 58 | + |
57 | 59 | |
58 | 60 | |
59 | 61 | |
60 | | - |
| 62 | + |
61 | 63 | |
| 64 | + |
62 | 65 | |
63 | 66 | |
64 | 67 | |
|
0 commit comments