mol_tree2 1.0.718 → 1.0.720

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/web.mjs CHANGED
@@ -1170,7 +1170,7 @@ var $;
1170
1170
  this.$mol_fail(err `Need a parent ${left.span}`);
1171
1171
  add_inner(right.clone([
1172
1172
  right.struct('=', [
1173
- context.factory.clone([left.clone([])]),
1173
+ context.factory.struct(context.factory.type.replace(/\*.*/, '*'), [left.clone([])]),
1174
1174
  ]),
1175
1175
  ]));
1176
1176
  }