Commit 171cecd
Revert incorrect commit character change; make test 21 manual
Reverts the change in computeCommitCharactersAndIsNewIdentifier that
incorrectly switched TupleType and IndexSignature to emptyCommitCharacters.
The original TypeScript code uses allCommitCharacters for all four kinds
(ArrayLiteralExpression, IndexSignature, TupleType, ComputedPropertyName).
The test expectation mismatch was caused by the Go test generator mapping
isNewIdentifierLocation:true to empty commit characters, which is incorrect
for this context. Made test 21 manual with the correct DefaultCommitCharacters.
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>1 parent 460b995 commit 171cecd
File tree
3 files changed
+9
-10
lines changed- internal
- fourslash
- _scripts
- tests/manual
- ls
3 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3492 | 3492 | | |
3493 | 3493 | | |
3494 | 3494 | | |
3495 | | - | |
3496 | | - | |
3497 | 3495 | | |
3498 | 3496 | | |
3499 | 3497 | | |
3500 | | - | |
3501 | | - | |
| 3498 | + | |
| 3499 | + | |
3502 | 3500 | | |
3503 | 3501 | | |
3504 | 3502 | | |
| |||
0 commit comments