Commit 79ca30a
Partial fix for #10452 FN knownConditionTrueFalse with bool and float (danmar#8438)
The bailout was added in
danmar@bc3f555
but seems unrelated to that change. Also, we would still warn for e.g.
`!b()` or `b() == false`.
---------
Co-authored-by: chrchr-github <noreply@github.com>1 parent 4f8a48d commit 79ca30a
3 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1524 | 1524 | | |
1525 | 1525 | | |
1526 | 1526 | | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | 1527 | | |
1533 | 1528 | | |
1534 | 1529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4852 | 4852 | | |
4853 | 4853 | | |
4854 | 4854 | | |
| 4855 | + | |
| 4856 | + | |
| 4857 | + | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
| 4862 | + | |
| 4863 | + | |
4855 | 4864 | | |
4856 | 4865 | | |
4857 | 4866 | | |
| |||
0 commit comments