wgsl-test 0.2.21 → 0.2.22

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.
@@ -815,7 +815,7 @@ function emitStandardAttribute(e, ctx) {
815
815
  }
816
816
  ctx.srcBuilder.add("@" + e.attribute.name + "(", e.start, params$1[0].start);
817
817
  for (let i = 0; i < params$1.length; i++) {
818
- ctx.srcBuilder.addCopy(params$1[i].start, params$1[i].end);
818
+ emitContents(params$1[i], ctx);
819
819
  if (i < params$1.length - 1) ctx.srcBuilder.add(",", params$1[i].end, params$1[i + 1].start);
820
820
  }
821
821
  ctx.srcBuilder.add(")", params$1[params$1.length - 1].end, e.end);