Closed oppiliappan closed 2 years ago
UnaryOp::operator should not panic if the AST is incomplete, and should return None instead. This is also now uniform with BinaryOp::operator.
UnaryOp::operator
None
BinaryOp::operator
Changes the return type of UnaryOp::operator.
@nerdypepper thanks! %)
Summary & Motivation
UnaryOp::operator
should not panic if the AST is incomplete, and should returnNone
instead. This is also now uniform withBinaryOp::operator
.Backwards-incompatible changes
Changes the return type of
UnaryOp::operator
.