bugs with var result
#13975
Labels
Code Generation
Invalid Code Acceptance
Everything related to compiler not complaining about invalid code
VM
see also `const` label
while working on this fix #13959 I identified 4 other issues with
var result
Example 1
Current Output
Expected Output
works
Example 2
iterator
or for non-tupleExample 3
Example 4: accept invalid (un-initialized var result)
EDIT: at least gives a Warning: Cannot prove that 'result' is initialized. This will become a compile time error in the future. [ProveInit]
Example 5
Additional Information
The text was updated successfully, but these errors were encountered: