File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
python/downgrades/503c0516fba2e5da9570f00eb34ef43025ecb8fb Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ class ExprParent_ extends @py_expr_parent {
26
26
*/
27
27
bindingset [ new_index]
28
28
int old_index ( int new_index ) {
29
- if new_index < 18 then result = new_index else result + ( 19 - 18 ) = new_index
29
+ if new_index < 18
30
+ then result = new_index
31
+ else
32
+ if new_index >= 19
33
+ then result + ( 19 - 18 ) = new_index
34
+ else none ( )
30
35
}
31
36
32
37
// The schema for py_exprs is:
Original file line number Diff line number Diff line change @@ -26,7 +26,12 @@ class StmtList_ extends @py_stmt_list {
26
26
*/
27
27
bindingset [ new_index]
28
28
int old_index ( int new_index ) {
29
- if new_index < 14 then result = new_index else result + ( 16 - 14 ) = new_index
29
+ if new_index < 14
30
+ then result = new_index
31
+ else
32
+ if new_index >= 16
33
+ then result + ( 16 - 14 ) = new_index
34
+ else none ( )
30
35
}
31
36
32
37
// The schema for py_stmts is:
You can’t perform that action at this time.
0 commit comments