Commit e6cd3e1
committed
Merge pull request microsoft#509 from Microsoft/emitLeadingCommentsForCurly
Emit leading comments for '}' of function/constructor block26 files changed
+194-40Lines changed: 194 additions & 40 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+46-13Lines changed: 46 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
330 | 330 | |
331 | 331 | |
332 | 332 | |
| 333 | + |
| 334 | + |
333 | 335 | |
334 | 336 | |
335 | 337 | |
| ||
1390 | 1392 | |
1391 | 1393 | |
1392 | 1394 | |
1393 | | - |
1394 | 1395 | |
1395 | 1396 | |
| 1397 | + |
| 1398 | + |
1396 | 1399 | |
1397 | 1400 | |
1398 | 1401 | |
| 1402 | + |
1399 | 1403 | |
1400 | 1404 | |
1401 | 1405 | |
| ||
1648 | 1652 | |
1649 | 1653 | |
1650 | 1654 | |
1651 | | - |
1652 | 1655 | |
| 1656 | + |
| 1657 | + |
| 1658 | + |
| 1659 | + |
1653 | 1660 | |
1654 | 1661 | |
1655 | 1662 | |
| ||
2077 | 2084 | |
2078 | 2085 | |
2079 | 2086 | |
| 2087 | + |
| 2088 | + |
| 2089 | + |
| 2090 | + |
| 2091 | + |
| 2092 | + |
| 2093 | + |
| 2094 | + |
| 2095 | + |
| 2096 | + |
| 2097 | + |
| 2098 | + |
| 2099 | + |
| 2100 | + |
| 2101 | + |
| 2102 | + |
| 2103 | + |
2080 | 2104 | |
2081 | 2105 | |
2082 | 2106 | |
2083 | 2107 | |
2084 | | - |
2085 | | - |
2086 | | - |
| 2108 | + |
| 2109 | + |
| 2110 | + |
2087 | 2111 | |
2088 | 2112 | |
2089 | | - |
2090 | | - |
2091 | | - |
2092 | | - |
2093 | | - |
2094 | | - |
2095 | | - |
2096 | | - |
| 2113 | + |
| 2114 | + |
2097 | 2115 | |
2098 | 2116 | |
2099 | 2117 | |
| ||
2110 | 2128 | |
2111 | 2129 | |
2112 | 2130 | |
| 2131 | + |
| 2132 | + |
| 2133 | + |
| 2134 | + |
| 2135 | + |
| 2136 | + |
| 2137 | + |
| 2138 | + |
| 2139 | + |
| 2140 | + |
| 2141 | + |
| 2142 | + |
| 2143 | + |
| 2144 | + |
| 2145 | + |
2113 | 2146 | |
2114 | 2147 | |
2115 | 2148 | |
|
Collapse file
tests/baselines/reference/callOverloads1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverloads1.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
| 23 | + |
23 | 24 | |
24 | 25 | |
25 | 26 | |
|
Collapse file
tests/baselines/reference/callOverloads2.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverloads2.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
| 31 | + |
31 | 32 | |
32 | 33 | |
33 | 34 | |
|
Collapse file
tests/baselines/reference/callOverloads3.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverloads3.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
|
Collapse file
tests/baselines/reference/callOverloads4.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverloads4.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
|
Collapse file
tests/baselines/reference/callOverloads5.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverloads5.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
25 | 26 | |
26 | 27 | |
27 | 28 | |
|
Collapse file
tests/baselines/reference/classMemberInitializerWithLamdaScoping.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/classMemberInitializerWithLamdaScoping.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
| 55 | + |
| 56 | + |
55 | 57 | |
56 | 58 | |
57 | 59 | |
|
Collapse file
tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
| 29 | + |
28 | 30 | |
29 | 31 | |
30 | 32 | |
|
Collapse file
tests/baselines/reference/classOrder1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/classOrder1.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | 22 | |
|
Collapse file
tests/baselines/reference/commentsClass.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/commentsClass.js+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
66 | 74 | |
67 | 75 | |
68 | 76 | |
| ||
123 | 131 | |
124 | 132 | |
125 | 133 | |
| 134 | + |
| 135 | + |
126 | 136 | |
127 | 137 | |
128 | 138 | |
129 | 139 | |
130 | 140 | |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
131 | 148 | |
132 | 149 | |
133 | 150 | |
| ||
178 | 195 | |
179 | 196 | |
180 | 197 | |
| 198 | + |
| 199 | + |
| 200 | + |
0 commit comments