fix(library/vm/vm): typo

This commit is contained in:
Leonardo de Moura 2016-05-13 00:45:18 -07:00
parent b8b32c2a3b
commit 990d2dc06e

View file

@ -702,7 +702,7 @@ void vm_state::run() {
}
}
case opcode::Invoke: {
unsigned nargs = instr.get_nargs();
unsigned nargs = instr.get_num();
unsigned sz = m_stack.size();
vm_obj closure = m_stack[sz - nargs - 1];
unsigned fn_idx = cfn_idx(closure);