Apply suggestions from code review

Co-authored-by: Rasmus Wriedt Larsen <rasmuswl@github.com>
This commit is contained in:
yoff
2022-11-16 22:20:19 +01:00
committed by GitHub
parent 4f159371f9
commit 505f454878
5 changed files with 5 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ class StmtList_ extends @py_stmt_list {
*/
bindingset[new_index]
int old_index(int new_index) {
not new_index = 7 and
if new_index < 7 then result = new_index else result + (8 - 7) = new_index
}