Skip to content

[jsg] replace internal module bundle flag with module type#915

Merged
mikea merged 5 commits intomainfrom
maizatskyi/2023-07-25-module-type
Jul 27, 2023
Merged

[jsg] replace internal module bundle flag with module type#915
mikea merged 5 commits intomainfrom
maizatskyi/2023-07-25-module-type

Conversation

@mikea
Copy link
Contributor

@mikea mikea commented Jul 25, 2023

This will make adding new module types easier.

This will make adding new module types easier.
@mikea mikea requested a review from jasnell July 25, 2023 18:07
type @1 :Modules.ModuleType;
# if anyone ever needs module type, it can be implemented by either fixing the Modules reference
# problem above or copying the original enum.
# type @1 :Modules.ModuleType;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

as of now it is not used anywhere so I wanted to stop banging my head on this.

@mikea mikea requested a review from mrbbot July 26, 2023 17:06
@mikea
Copy link
Contributor Author

mikea commented Jul 26, 2023

double checking with @mrbbot that module.internal in rtti is not used by anyone.

@mrbbot
Copy link
Contributor

mrbbot commented Jul 26, 2023

Yep, not used anywhere yet. We can probably get away with not using it too. 👍

@mikea
Copy link
Contributor Author

mikea commented Jul 27, 2023

FYI I have verified that this doesn't break downstream build.

@mikea mikea merged commit ac145d6 into main Jul 27, 2023
@mikea mikea deleted the maizatskyi/2023-07-25-module-type branch July 27, 2023 15:43
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.

3 participants