mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 07:20:27 +00:00
Fix typo in destructuring
This commit is contained in:
parent
1394f1a5c0
commit
69f0fe004d
@ -149,7 +149,7 @@ static int destructure(JanetCompiler *c,
|
|||||||
JanetTable *attr) {
|
JanetTable *attr) {
|
||||||
switch (janet_type(left)) {
|
switch (janet_type(left)) {
|
||||||
default:
|
default:
|
||||||
janetc_error(c, janet_formatc("unexpected type in destruction, got %v", left));
|
janetc_error(c, janet_formatc("unexpected type in destructuring, got %v", left));
|
||||||
return 1;
|
return 1;
|
||||||
case JANET_SYMBOL:
|
case JANET_SYMBOL:
|
||||||
/* Leaf, assign right to left */
|
/* Leaf, assign right to left */
|
||||||
|
Loading…
Reference in New Issue
Block a user