Skip to content

Conversation

@henriquebecker91
Copy link
Contributor

Just changed the ending of a phrase:

"include behaves as if the contents of the source file were evaluated in its place."

to

"include behaves as if the contents of the source file were evaluated in the global scope of the including module."

because I have already answered more than one person in Discourse trying to load variable definitions and code pieces from another file to inside a function scope (instead the global scope).

Just changed the ending of a phrase:

"`include` behaves as if the contents of the source file were evaluated in its place."

to

"`include` behaves as if the contents of the source file were evaluated in the global scope of the including module."

because I have already answered more than one person in Discourse trying to load variable definitions and code pieces from another file to inside a function scope (instead the global scope).
@StefanKarpinski StefanKarpinski merged commit d6ef750 into JuliaLang:master Jan 19, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
Just changed the ending of a phrase:

"`include` behaves as if the contents of the source file were evaluated in its place."

to

"`include` behaves as if the contents of the source file were evaluated in the global scope of the including module."

because I have already answered more than one person in Discourse trying to load variable definitions and code pieces from another file to inside a function scope (instead the global scope).
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
Just changed the ending of a phrase:

"`include` behaves as if the contents of the source file were evaluated in its place."

to

"`include` behaves as if the contents of the source file were evaluated in the global scope of the including module."

because I have already answered more than one person in Discourse trying to load variable definitions and code pieces from another file to inside a function scope (instead the global scope).
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.

2 participants