Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Metadata for Generating Module Prefixes in Mapped Code #3368

Open
InsertCreativityHere opened this issue Jan 15, 2025 · 0 comments

Comments

@InsertCreativityHere
Copy link
Member

We have a handful of metadata which are about re-mapping top-level modules:
java:package, cs:namespace, swift:module, maybe even more in other languages.

Confusingly, when these are applied to a module, it doesn't change the module's name itself.
Instead it just changed which scope the module's definition will be mapped into.

["cs:namespace:Something"]
module Hello {...}

Will cause us to generate code into the Something.Hello namespace.


Now that we've settled on introducing other metadata for remapping identifiers, these metadata are redundant, and should be deprecated.

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

No branches or pull requests

1 participant