[Compiler] Fix branch targets in disassembly (#379)

* fix diassembly

* update changelog

* fix exit crash

* doc
This commit is contained in:
water111
2021-04-23 15:07:22 -04:00
committed by GitHub
parent 060b125324
commit 0b8a878533
6 changed files with 28 additions and 18 deletions
@@ -33,7 +33,9 @@ Val* Compiler::compile_exit(const goos::Object& form, const goos::Object& rest,
}
// flag for the REPL.
m_want_exit = true;
m_repl->save_history();
if (m_repl) {
m_repl->save_history();
}
return get_none();
}