1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-18 16:25:11 +00:00

Fix some keyword related issues.

This commit is contained in:
Calvin Rose
2019-01-02 22:08:51 -05:00
parent 5fff36d047
commit 337a498edb
7 changed files with 9 additions and 11 deletions

View File

@@ -925,7 +925,7 @@ static void *op_lookup[255] = {
janet_buffer_push_cstring(&errbuf, "expected ");
janet_buffer_push_types(&errbuf, expected_types);
janet_buffer_push_cstring(&errbuf, ", got ");
janet_buffer_push_cstring(&errbuf, janet_type_names[janet_type(retreg)] + 1);
janet_buffer_push_cstring(&errbuf, janet_type_names[janet_type(retreg)]);
retreg = janet_stringv(errbuf.data, errbuf.count);
janet_buffer_deinit(&errbuf);
signal = JANET_SIGNAL_ERROR;