mirror of
https://github.com/janet-lang/janet
synced 2025-02-23 11:40:01 +00:00
Merge pull request #1371 from pepe/destructuring-typo
Fix typo in destructuring
This commit is contained in:
commit
184d9289b5
@ -149,7 +149,7 @@ static int destructure(JanetCompiler *c,
|
||||
JanetTable *attr) {
|
||||
switch (janet_type(left)) {
|
||||
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;
|
||||
case JANET_SYMBOL:
|
||||
/* Leaf, assign right to left */
|
||||
|
Loading…
x
Reference in New Issue
Block a user