Skip to content

[Bug]: panics with no entry found for key when editing dynamic imports while HMR is enabled #5249

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

See #5248

What is expected?

Does not crash.

What is actually happening?

Crashes with

thread 'fixture_with_config_tests__rolldown__topics__hmr__dynamic_import_then__config_json' panicked at crates\rolldown\src\hmr\hmr_ast_finalizer.rs:234:65:
no entry found for key

System Info

https://github.com/rolldown/rolldown/tree/6dcfc7063a89b6857698298a21e3676036f22ab6

Any additional comments?

related to #5223

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions