Commit c9bd900
Add test for static-to-static chained call (::) unreachable detection
The previous tests covered static calls chained with instance method
calls (->), but not static calls chained with other static calls (::).
This new test exercises the StaticCallHandler fix where the class
expression is itself a static call with a never-returning argument.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 149e50c commit c9bd900
2 files changed
Lines changed: 11 additions & 1 deletion
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
393 | 397 | | |
394 | 398 | | |
395 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments