Merge pull request #10041 from ethereum/lValueOrdinaryUndefined

Make sure lValueOfOrdinaryAssignment does not have an undefined value.
This commit is contained in:
chriseth 2020-10-15 10:20:33 +02:00 committed by GitHub
commit 447744e2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,7 @@ struct ExpressionAnnotation: ASTAnnotation
/// Whether the expression is an lvalue that is only assigned.
/// Would be false for --, ++, delete, +=, -=, ....
/// Only relevant if isLvalue == true
bool lValueOfOrdinaryAssignment;
bool lValueOfOrdinaryAssignment = false;
/// Types and - if given - names of arguments if the expr. is a function
/// that is called, used for overload resolution