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

Feature: Access to fully qualified functions #96

Open
marcandre opened this issue Dec 6, 2023 · 0 comments
Open

Feature: Access to fully qualified functions #96

marcandre opened this issue Dec 6, 2023 · 0 comments

Comments

@marcandre
Copy link

What do you want Credo to do?

There's no easy way currently to know to know what function calls really are. The AST for foo(42) does not tell us which imported module's foo will be called, but from the compiled code it is, at least in theory, possible to know. Same for SomeModule.foo(42), we do not know that SomeModule is an alias for.

Given a particular call tuple, it would be nice to be able to ask Credo which function this actually is and get [:MyApp, :MyNamespace, :SomeModule]

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