mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
Fix bad merge.
This commit is contained in:
parent
1a4035b02c
commit
dbcceefc20
@ -1850,8 +1850,6 @@
|
|||||||
(res)
|
(res)
|
||||||
(error (res :error))))
|
(error (res :error))))
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
(def make-image-dict
|
(def make-image-dict
|
||||||
"A table used in combination with marshal to marshal code (images), such that
|
"A table used in combination with marshal to marshal code (images), such that
|
||||||
(make-image x) is the same as (marshal x make-image-dict)."
|
(make-image x) is the same as (marshal x make-image-dict)."
|
||||||
|
@ -355,7 +355,7 @@ static Janet cfun_thread_receive(int32_t argc, Janet *argv) {
|
|||||||
const Janet *items;
|
const Janet *items;
|
||||||
if (janet_indexed_view(argv[0], &items, &count)) {
|
if (janet_indexed_view(argv[0], &items, &count)) {
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
janet_panics("expected at least 1 thread");
|
janet_panic("expected at least 1 thread");
|
||||||
}
|
}
|
||||||
if (count == 1) {
|
if (count == 1) {
|
||||||
JanetThread *thread = janet_getthread(items, 0);
|
JanetThread *thread = janet_getthread(items, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user