1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00

Error message sounded a bit unsure.

This commit is contained in:
Calvin Rose 2022-06-19 10:29:42 -05:00
parent 0dccc22b38
commit 6ea27fe836

View File

@ -312,7 +312,7 @@ static JanetTable *handleattr(JanetCompiler *c, int32_t argn, const Janet *argv)
janetc_cerror(c, "unexpected form - did you intend to use defn?"); janetc_cerror(c, "unexpected form - did you intend to use defn?");
break; break;
default: default:
janetc_error(c, janet_formatc("could not add metadata %v to binding %s", attr, binding_name)); janetc_error(c, janet_formatc("cannot add metadata %v to binding %s", attr, binding_name));
break; break;
case JANET_KEYWORD: case JANET_KEYWORD:
janet_table_put(tab, attr, janet_wrap_true()); janet_table_put(tab, attr, janet_wrap_true());