1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 08:20:27 +00:00

Update CHANGELOG.md

This commit is contained in:
Calvin Rose 2022-02-09 22:31:27 -06:00
parent a9f38dfce4
commit e64da8ede4
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,11 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## Unreleased - ???
- Fix quasiquote bug in compiler
- Disallow use of `cancel` and `resume` on fibers scheduled or created with `ev/go`, as well as the root
fiber.
## 1.20.0 - 2022-1-27 ## 1.20.0 - 2022-1-27
- Add `:missing-symbol` hook to `compile` that will act as a catch-all macro for undefined symbols. - Add `:missing-symbol` hook to `compile` that will act as a catch-all macro for undefined symbols.
- Add `:redef` dynamic binding that will allow users to redefine top-level bindings with late binding. This - Add `:redef` dynamic binding that will allow users to redefine top-level bindings with late binding. This

View File

@ -1338,8 +1338,7 @@ static JanetSignal janet_check_can_resume(JanetFiber *fiber, Janet *out, int is_
*out = janet_cstringv("C stack recursed too deeply"); *out = janet_cstringv("C stack recursed too deeply");
return JANET_SIGNAL_ERROR; return JANET_SIGNAL_ERROR;
} }
/* If a "task" fiber is trying to be used as a normal fiber, detect that and fix the reference /* If a "task" fiber is trying to be used as a normal fiber, detect that. See bug #920. */
* count. See bug #920. */
if (janet_vm.stackn > 0 && (fiber->gc.flags & JANET_FIBER_FLAG_ROOT)) { if (janet_vm.stackn > 0 && (fiber->gc.flags & JANET_FIBER_FLAG_ROOT)) {
*out = janet_cstringv(is_cancel *out = janet_cstringv(is_cancel
? "cannot cancel root fiber" ? "cannot cancel root fiber"