mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Update CHANGELOG.md
This commit is contained in:
parent
a9f38dfce4
commit
e64da8ede4
@ -1,6 +1,11 @@
|
||||
# Changelog
|
||||
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
|
||||
- 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
|
||||
|
@ -1338,8 +1338,7 @@ static JanetSignal janet_check_can_resume(JanetFiber *fiber, Janet *out, int is_
|
||||
*out = janet_cstringv("C stack recursed too deeply");
|
||||
return JANET_SIGNAL_ERROR;
|
||||
}
|
||||
/* If a "task" fiber is trying to be used as a normal fiber, detect that and fix the reference
|
||||
* count. See bug #920. */
|
||||
/* If a "task" fiber is trying to be used as a normal fiber, detect that. See bug #920. */
|
||||
if (janet_vm.stackn > 0 && (fiber->gc.flags & JANET_FIBER_FLAG_ROOT)) {
|
||||
*out = janet_cstringv(is_cancel
|
||||
? "cannot cancel root fiber"
|
||||
|
Loading…
Reference in New Issue
Block a user