Repository navigation
Commit b3547b6
Do not preserve conditional holders for unresolved expressions
An ErrorType consequent (e.g. an access to an undefined property) is a
subtype of everything, so it looked "already satisfied" and its holder was
preserved across the merge. Applying it tracked the expression and hid the
underlying error - a false negative on undefined-property access. Skip
holders whose consequent or other-branch state is an ErrorType, and use
early exit in the preservation loop.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CGhnJQpUWRRpg6H5LuWJkA1 parent ad96bf8 commit b3547b6
1 file changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4559 | 4559 | | |
4560 | 4560 | | |
4561 | 4561 | | |
4562 | | - | |
4563 | | - | |
4564 | | - | |
4565 | | - | |
4566 | | - | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
| 4572 | + | |
4567 | 4573 | | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
4568 | 4580 | | |
4569 | 4581 | | |
4570 | 4582 | | |
| |||
0 commit comments