mol_view_tree2_lib 1.0.198 → 1.0.199

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.mjs 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)
package/node.test.js CHANGED
@@ -2115,7 +2115,7 @@ var $;
2115
2115
  if (!is_writable(right))
2116
2116
  this.$mol_fail(err `Expected writable at ${right.span}`);
2117
2117
  }
2118
- else if (operator?.type === "<=" && is_writable(left)) {
2118
+ else if (context.factory && operator?.type === "<=" && is_writable(left)) {
2119
2119
  this.$mol_fail(err `Expected readonly at ${left.span}`);
2120
2120
  }
2121
2121
  if (right)
@@ -13353,7 +13353,7 @@ var $;
13353
13353
  indexed(id, next){
13354
13354
  if(next !== undefined) return next;
13355
13355
  const obj = new this.$.$mol_view_tree2_to_js_test_ex_bidi_indexed_second_level_bar();
13356
- (obj.expanded) = () => ((this.owner(id, next)));
13356
+ (obj.expanded) = (next) => ((this.owner(id, next)));
13357
13357
  return obj;
13358
13358
  }
13359
13359
  };