willothy / worth

Found consecutive if expressions with the same condition RS-W1009
Bug risk
Minor
a year agoa year old
This if has the same condition as the previous if: let Keyword::Do { .. } = op_type
625                                )
626                            });
627                        }
628                    } else if let Keyword::Do { .. } = op_type {629                        if stack != expected_stack {
630                            return Err(TypecheckError(InvalidEnd)).with_context(|| {
631                                format!(