Commit 5cea38f9aa0db663430192613897b4347ee9b7b8

Thomas de Grivel 2023-10-18T23:19:01

warn

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/libc3/env.c b/libc3/env.c
index a306eda..89a2a81 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -826,8 +826,8 @@ bool env_operator_find (s_env *env, const s_ident *op, u8 arity)
     return true;
   }
   warnx("operator %s not found in module %s",
-        op->sym->str.ptr.ps8,
-        op->module->str.ptr.ps8);
+        tmp.sym->str.ptr.ps8,
+        tmp.module->str.ptr.ps8);
   facts_with_cursor_clean(&cursor);
   return false;
 }