We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358d466 commit cf22b78Copy full SHA for cf22b78
crates/jit/tests/common.rs
@@ -199,8 +199,8 @@ impl StackMachine {
199
Instruction::LoadName { namei } => self
200
.stack
201
.push(StackValue::String(names[namei.get(arg) as usize].clone())),
202
- Instruction::StoreName(idx) => {
203
- let idx = idx.get(arg);
+ Instruction::StoreName { namei } => {
+ let idx = namei.get(arg);
204
self.locals
205
.insert(names[idx as usize].clone(), self.stack.pop().unwrap());
206
}
0 commit comments