a0c4b2d8f0
Closure requires @nocollapse on Ivy definition static fields in order to not convert them to standalone constants. However tsickle, the tool which would ordinarily be responsible for adding @nocollapse, doesn't properly annotate fields which are added synthetically via transforms. So this commit adds @nocollapse by applying regular expressions against code during the final write to disk. PR Close #25775 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
compiler_host_spec.ts | ||
inline_resources_spec.ts | ||
lower_expressions_spec.ts | ||
metadata_reader_spec.ts | ||
nocollapse_hack_spec.ts | ||
node_emitter_spec.ts | ||
program_spec.ts | ||
r3_metadata_transform_spec.ts | ||
r3_transform_spec.ts |