fix: caches of emit module in str_impl may be invalid#1112
Conversation
Walkthrough整体变更概述:在 Changes
Poem
Note Pull Request Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://coderabbit.ai TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Close #1091
Solution: add chunk_id in cache key
Summary by CodeRabbit
str_impl.rs文件中的emit_module_with_mapping函数,现在接受额外的_chunk_id参数,并在缓存键生成中使用它。pot_to_chunk_module_object_string函数,将_chunk_id参数传递给emit_module_with_mapping。