File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1943,12 +1943,6 @@ instruction zsuper(literal) [ block -- value ]
19431943 }
19441944 }
19451945
1946- native_int keywords_position, placeholder_position;
1947- if(mc->keywords) {
1948- placeholder_position = splat_obj ? mc->total_args : mc->total_args - 1;
1949- keywords_position = placeholder_position + 1;
1950- }
1951-
19521946 Tuple* tup = Tuple::create(state, arg_count);
19531947 for(int i = 0; i < mc->total_args; i++) {
19541948 tup->put(state, i, scope->get_local(state, i));
@@ -1963,6 +1957,9 @@ instruction zsuper(literal) [ block -- value ]
19631957 }
19641958
19651959 if(mc->keywords) {
1960+ native_int placeholder_position = splat_obj ? mc->total_args : mc->total_args - 1;
1961+ native_int keywords_position = placeholder_position + 1;
1962+
19661963 Object* placeholder = scope->get_local(state, placeholder_position);
19671964 Array* ary = Array::create(state, 2);
19681965
You can’t perform that action at this time.
0 commit comments