File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -145,20 +145,19 @@ redef class AMethPropdef
145
145
if injected_variables == null then return super
146
146
147
147
# Inject main variables in the frame
148
- assert f isa InterpreterFrame
149
148
for variable , i in injected_variables do
150
- f .map [ variable ] = i
149
+ f .write_variable ( variable , v , i )
151
150
end
152
151
153
152
var res = super
154
153
155
154
# Update the values of the variables
156
155
for variable in injected_variables .keys do
157
- injected_variables [variable ] = f .map [ variable ]
156
+ injected_variables [variable ] = f .read_variable ( variable , v )
158
157
end
159
158
# Retrieve the values of the new main variables
160
159
for variable in new_variables .as (not null ) do
161
- injected_variables [variable ] = f .map [ variable ]
160
+ injected_variables [variable ] = f .read_variable ( variable , v )
162
161
end
163
162
164
163
return res
You can’t perform that action at this time.
0 commit comments