mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Fix bad merge.
This commit is contained in:
parent
1a4035b02c
commit
dbcceefc20
@ -1850,8 +1850,6 @@
|
||||
(res)
|
||||
(error (res :error))))
|
||||
|
||||
<<<<<<< HEAD
|
||||
|
||||
(def make-image-dict
|
||||
"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)."
|
||||
|
@ -355,7 +355,7 @@ static Janet cfun_thread_receive(int32_t argc, Janet *argv) {
|
||||
const Janet *items;
|
||||
if (janet_indexed_view(argv[0], &items, &count)) {
|
||||
if (count == 0) {
|
||||
janet_panics("expected at least 1 thread");
|
||||
janet_panic("expected at least 1 thread");
|
||||
}
|
||||
if (count == 1) {
|
||||
JanetThread *thread = janet_getthread(items, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user