mol_view_tree2_lib 1.0.198 → 1.0.200

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_view_tree2_lib",
3
- "version": "1.0.198",
3
+ "version": "1.0.200",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.js CHANGED
@@ -2124,7 +2124,7 @@ var $;
2124
2124
  if (!is_writable(right))
2125
2125
  this.$mol_fail(err `Expected writable at ${right.span}`);
2126
2126
  }
2127
- else if (operator?.type === "<=" && is_writable(left)) {
2127
+ else if (context.factory && operator?.type === "<=" && is_writable(left)) {
2128
2128
  this.$mol_fail(err `Expected readonly at ${left.span}`);
2129
2129
  }
2130
2130
  if (right)