fix(library/vm/vm): typo

This commit is contained in:
Leonardo de Moura 2016-05-13 00:43:09 -07:00
parent 843f3a69ba
commit b8b32c2a3b

View file

@ -236,7 +236,7 @@ public:
unsigned get_nargs() const {
lean_assert(m_op == opcode::InvokeGlobal || m_op == opcode::Closure);
return m_fn_idx;
return m_nargs;
}
unsigned get_idx() const {