txlyre 1 day ago
parent
commit
2cb9d78d70
1 changed files with 1 additions and 2 deletions
  1. 1 2
      qirt.c

+ 1 - 2
qirt.c

@@ -2087,8 +2087,7 @@ qi_value_t *qi_index(qi_state_t *state, qi_value_t *value, qi_value_t *index) {
       });
 
       if (!indexed)
-        qi_throw_format(state, "no such key in table: %s",
-                        qi_repr(state, index, true));
+        qi_throw_format(state, "no such key: %s", qi_repr(state, index, true));
 
       return indexed;
     }