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

Problem when two modules contain a function with the same name #12

Open
cfbrobak opened this issue Oct 25, 2017 · 0 comments
Open

Problem when two modules contain a function with the same name #12

cfbrobak opened this issue Oct 25, 2017 · 0 comments

Comments

@cfbrobak
Copy link

While trying out DocTreeGenerator, I seem to have found a problem:
DocTreeGenerator imports all modules before extracting documentation from each module. If two modules both contain a function having the same name, only the function from the last module imported is seen by DocTreeGenerator. Message displayed:

** No functions found in ModuleA-v1; (typically this means your functions or cmdlets are not exported)

In the situation above, I had a ModuleA-v2 containing all the same functions as ModuleA-v1.
This case simulates two versions of the same module.

Even if not handling module versions, it is not unlikely for two modules to contain functions having the same name.

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

No branches or pull requests

1 participant