ITADN

V2 Rolldown follow-up: remove invalid PURE annotations

#8672Openmaiieul 创建于 2026-05-28
bug
M
maiieulcommented
Rolldown is a little stricter on PURE annotations For example those ``` const ga = t => { ... /* @__PURE__ */ return ri($i, null, null, null, 0, "u7_0"); }; ``` Or ```ts const Pa = /* @__PURE__ */ "" + ... ``` will log a > [INVALID_ANNOTATION] A comment "/* @__PURE__ */" in "packages/qwik/dist/core.prod.mjs" contains an annotation that Rolldown cannot interpret due to the position of the comment. > ... > Help: For more information on how to use pure annotations correctly, check the documentation: https://rolldown.rs/in-depth/dead-code-elimination#pure Builds still pass. Seems to only affect a few occurences. ### Repro Run `pnpm test.e2e.chromium` to see which ones are affected.
0 条评论