Allow all auto imports to be suppressed at once #109

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@josevalim

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.

@josevalim josevalim Allow all auto imports to be suppressed at once
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.
d2b412d
@OTP-Maintainer

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

@josevalim

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

@bjorng

Thanks! I'll close it.

@bjorng bjorng closed this Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment