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

add documentation for getModuleClasses #3524

Closed
wants to merge 1 commit into from

Conversation

WalterBright
Copy link
Member

Implementation: dlang/dmd#14699

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@@ -1330,6 +1330,31 @@ void main()
---
)

$(H3 $(GNAME getModuleClasses))

$(P Optionally takes one argument which is a module name or a fully qualified import.
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if you do import a = std.stdio;? Is a considered fully qualified at that point?

What if you use it on an imported symbol instead of an imported module?

It also isn't really a module name per se, but rather a module symbol, since it isn't quoted.


$(P Optionally takes one argument which is a module name or a fully qualified import.
If there is no argument, the current module is used.
It returns a tuple of strings representing the fully qualified names of classes defined in
Copy link
Contributor

Choose a reason for hiding this comment

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

What use case does this have?

@dkorpel
Copy link
Contributor

dkorpel commented Feb 25, 2023

Closing, as the addition was reverted (dlang/dmd#14892)

@dkorpel dkorpel closed this Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants