|
@@ -2087,8 +2087,7 @@ qi_value_t *qi_index(qi_state_t *state, qi_value_t *value, qi_value_t *index) {
|
|
});
|
|
});
|
|
|
|
|
|
if (!indexed)
|
|
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;
|
|
return indexed;
|
|
}
|
|
}
|