From 33580b91ca0968ce1aa831f34724e628537a45d4 Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 27 Dec 2022 23:44:34 +0200 Subject: [PATCH] don't error on unknown fill when not overtaking --- README.md | 3 ++- src/builtins/sfns.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b84642a..597a04ac 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,8 @@ x86-64 (Linux): x86 (Linux): clang 14.0.0; known to break on gcc - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416 running on the above x86-64 system, compiled with CCFLAGS=-m32 -AArch64 ARMv8-A (within Termux on Android): +AArch64 ARMv8-A (within Termux on Android 8): + using a `lf=-landroid-spawn` make arg after `pkg install libandroid-spawn` to get •SH to work clang 15.0.4 libffi 3.4.4 (structs were broken as of 3.4.3) replxx: clang++ 15.0.4 diff --git a/src/builtins/sfns.c b/src/builtins/sfns.c index 6ce2461a..a2a92a75 100644 --- a/src/builtins/sfns.c +++ b/src/builtins/sfns.c @@ -519,7 +519,8 @@ static NOINLINE B takedrop_highrank(bool take, B w, B x) { r = taga(ra); } else { // printf("generic\n"); MAKE_MUT(rm, ria); mut_init(rm, TI(x,elType)); - B xf = getFillE(x); + B xf = getFillR(x); + if (anyFill && noFill(xf)) thrM("↑: fill element required for overtaking, but 𝕩 doesn't have one"); MUTG_INIT(rm); if (IA(x)==0) {