Skip to content

Conversation

@fraidev
Copy link
Contributor

@fraidev fraidev commented Oct 29, 2025

workarround for #31101

Comment on lines +568 to +569
// fallback to opposite module kind if not found
let maybe_code = emitter.maybe_cached_emit(&file.specifier, module_kind, &file.source)?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why your using the opposite kind?

Copy link
Contributor Author

@fraidev fraidev Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a fallback, as we have 2 kinds, to try to find the other one if it is not found.

I am not sure if it's the right solution, I wrote a little about here: #31101 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants