PS: Add another failing test with parentheses.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-10-15 13:36:17 +01:00
parent 72e18ac135
commit 959cbd7467
2 changed files with 18 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
| test.ps1:1:7:1:13 | Source | test.ps1:1:1:1:13 | ...=... |
| test.ps1:2:1:2:9 | Sink | test.ps1:2:1:2:9 | pre-return value for Sink |
| test.ps1:2:1:2:9 | Sink | test.ps1:2:1:2:9 | pre-return value for Sink |
| test.ps1:2:1:2:9 | implicit unwrapping of Sink | test.ps1:1:1:11:8 | return value for test.ps1 |
| test.ps1:2:1:2:9 | implicit unwrapping of Sink | test.ps1:1:1:14:8 | return value for test.ps1 |
| test.ps1:2:1:2:9 | pre-return value for Sink | test.ps1:2:1:2:9 | implicit unwrapping of Sink |
| test.ps1:4:1:4:3 | b | test.ps1:5:4:5:6 | b |
| test.ps1:4:6:4:13 | GetBool | test.ps1:4:1:4:3 | b |
@@ -14,7 +14,7 @@
| test.ps1:6:11:6:17 | Source | test.ps1:6:5:6:17 | ...=... |
| test.ps1:8:1:8:9 | Sink | test.ps1:8:1:8:9 | pre-return value for Sink |
| test.ps1:8:1:8:9 | Sink | test.ps1:8:1:8:9 | pre-return value for Sink |
| test.ps1:8:1:8:9 | implicit unwrapping of Sink | test.ps1:1:1:11:8 | return value for test.ps1 |
| test.ps1:8:1:8:9 | implicit unwrapping of Sink | test.ps1:1:1:14:8 | return value for test.ps1 |
| test.ps1:8:1:8:9 | pre-return value for Sink | test.ps1:8:1:8:9 | implicit unwrapping of Sink |
| test.ps1:10:1:10:3 | c | test.ps1:11:6:11:8 | c |
| test.ps1:10:6:10:16 | [...]... | test.ps1:10:1:10:3 | c |
@@ -23,5 +23,16 @@
| test.ps1:10:14:10:16 | b | test.ps1:10:6:10:16 | [...]... |
| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
| test.ps1:11:1:11:8 | Sink | test.ps1:11:1:11:8 | pre-return value for Sink |
| test.ps1:11:1:11:8 | implicit unwrapping of Sink | test.ps1:1:1:11:8 | return value for test.ps1 |
| test.ps1:11:1:11:8 | implicit unwrapping of Sink | test.ps1:1:1:14:8 | return value for test.ps1 |
| test.ps1:11:1:11:8 | pre-return value for Sink | test.ps1:11:1:11:8 | implicit unwrapping of Sink |
| test.ps1:11:6:11:8 | [post] c | test.ps1:13:7:13:9 | c |
| test.ps1:11:6:11:8 | c | test.ps1:13:7:13:9 | c |
| test.ps1:13:1:13:3 | d | test.ps1:14:6:14:8 | d |
| test.ps1:13:6:13:10 | (...) | test.ps1:13:1:13:3 | d |
| test.ps1:13:6:13:10 | (...) | test.ps1:13:1:13:10 | ...=... |
| test.ps1:13:6:13:10 | (...) | test.ps1:13:6:13:10 | (...) |
| test.ps1:13:7:13:9 | c | test.ps1:13:7:13:9 | c |
| test.ps1:14:1:14:8 | Sink | test.ps1:14:1:14:8 | pre-return value for Sink |
| test.ps1:14:1:14:8 | Sink | test.ps1:14:1:14:8 | pre-return value for Sink |
| test.ps1:14:1:14:8 | implicit unwrapping of Sink | test.ps1:1:1:14:8 | return value for test.ps1 |
| test.ps1:14:1:14:8 | pre-return value for Sink | test.ps1:14:1:14:8 | implicit unwrapping of Sink |

View File

@@ -8,4 +8,7 @@ if($b) {
Sink $a2
$c = [string]$b
Sink $c
Sink $c
$d = ($c)
Sink $d