Commit 81019d9
authored
fix: revert additional two-way-binding checks (#2508)
This reverts commit 8c080cf.
This reverts #2477. Sadly, the idea didn't work out, as shown by two opened bug reports:
- #2506: A type union can be narrowed on the input, but not on the way back out
- #2494: A generic nested within a bound value is not properly resolved and not falling back to `any` (in #2477 we thought of the generic case, but only for when the generic is the whole value type, not when it's nested)
For these reasons I don't see a way to properly implement #1392 at the moment.1 parent e74f1d7 commit 81019d9
File tree
14 files changed
+14
-134
lines changed- packages
- language-server
- src/plugins/typescript/features
- test/plugins/typescript/features/diagnostics/fixtures/bindings-two-way-check
- svelte2tsx
- repl
- src/htmlxtojsx_v2/nodes
- test/htmlx2jsx/samples
- binding-bare
- binding
- editing-binding
14 files changed
+14
-134
lines changedLines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
467 | | - | |
468 | 466 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 467 | + | |
476 | 468 | | |
477 | 469 | | |
478 | 470 | | |
| |||
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
5 | 3 | | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 134 | | |
141 | 135 | | |
142 | 136 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments