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

Allow all auto imports to be suppressed at once #109

Closed
wants to merge 1 commit into from

Conversation

josevalim
Copy link
Contributor

This patch introduces the no_auto_import attribute:

-compile(no_auto_import).

Useful for code generation tools that always use the
qualified function names and want to avoid the auto
imported functions clashing with local ones.

Implementation wise, we chose to have a special flag
'all' to avoid doing many set lookups when checking for
suppression.

This patch introduces the no_auto_import attribute:

    -compile(no_auto_import).

Useful for code generation tools that always use the
qualified function names and want to avoid the auto
imported functions clashing with local ones.

Implementation wise, we chose to have a special flag
'all' to avoid doing many set lookups when checking for
suppression.
@OTP-Maintainer
Copy link

Patch has passed first testings and has been assigned to be reviewed

@josevalim
Copy link
Contributor Author

This has been merged already and I can see it in 17.0-rc2. Should I just close it? :)

@bjorng
Copy link
Contributor

bjorng commented Mar 12, 2014

Thanks! I'll close it.

@bjorng bjorng closed this Mar 12, 2014
uabboli pushed a commit to uabboli/otp that referenced this pull request Dec 1, 2020
invalid newline escape sequence in examples
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