mam 1.11.923 → 1.11.925

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.js CHANGED
@@ -4904,7 +4904,7 @@ var $;
4904
4904
  if (!is_writable(right))
4905
4905
  this.$mol_fail(err `Expected writable at ${right.span}`);
4906
4906
  }
4907
- else if (operator?.type === "<=" && is_writable(left)) {
4907
+ else if (context.factory && operator?.type === "<=" && is_writable(left)) {
4908
4908
  this.$mol_fail(err `Expected readonly at ${left.span}`);
4909
4909
  }
4910
4910
  if (right)