Incorrect type inference in loops #2552
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
No error.
Actual behaviour
Type of "high" is partially unknown
Type of "high" is "int | Unknown"
Code Snippet / Additional information
This might have the same root issue as the #2549 as it is also in a loop but this issue is present since v2020.3.4 and another one only since v2020.4.0 so I have opted to open a new ticket.
The text was updated successfully, but these errors were encountered: