Skip to content

Commit a364003

Browse files
committed
comment on cell declaration restrictions
1 parent 47d033b commit a364003

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parse.js

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ export class CellParser extends Parser {
218218
this.checkCellDeclaration(node.left);
219219
break;
220220
default:
221+
// Don’t allow destructuring into viewof or mutable declarations.
221222
this.unexpected();
222223
break;
223224
}

0 commit comments

Comments
 (0)