Closed icefapper closed 7 years ago
CTX_PAT|CTX_NO_SIMPLE_ERR
is now CTX_TOP
in jazzle, signifying the contexts in which array- and object-patterns are allowed to serve as assignment left hand sides but are not allowed to leak tricky errs. this happened in https://github.com/JazzleWare/jazzle-parser/commit/6986f51c33128a6865b603c8561975b58203957
it has got to be sent to every
parseExpr
andparseNonSeqExpr
that is not a sub-expr -- top-level exprs in other words. otherwise there are going to be inconsistencies while parsing them, especially while tracking the so-called "tricky" cases.