Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fhdl: fix mismatch between _can_lower() and _lower_specials_step().
The conditions in them were different: _can_lower() checked for presence of the lower() override method, and _lower_specials_step() would only lower the special if lower() is present and returns something other than None. Remove _can_lower() and instead lower specials until no more can be lowered. This is also both simpler and faster.
- Loading branch information