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

include: deprecate multi-argument method of include #19909

Merged
merged 1 commit into from
Jan 8, 2017
Merged

Conversation

StefanKarpinski
Copy link
Member

I didn't even realize we had this and no one seems to use it, so let's deprecate it.

@StefanKarpinski StefanKarpinski added this to the 0.6.0 milestone Jan 6, 2017
@KristofferC
Copy link
Member

Introduced in #18504. @fredrikekre any opinions if this should be kept?

@StefanKarpinski
Copy link
Member Author

Oh good – then we don't even have to deprecate it, we can just delete it. Everyone I asked about the multi-argument include seemed surprised by it.

Evaluate the contents of the input source file(s) in the current context. Returns the result
of the last evaluated argument (of the last input file). During including, a
task-local include path is set to the directory containing the file. Nested calls to
`include` will search relative to that path. All paths refer to files on node 1 when running
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did "All paths refer to files on node 1 when running in parallel, and files will be fetched from node 1." go?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted that because I made change as part of a PR to delete distributed code loading as well. I can put it back into this PR though.

@fredrikekre
Copy link
Member

fredrikekre commented Jan 6, 2017

any opinions if this should be kept?

Nah, just delete it :)

This was introduced in the 0.6 release cycle, can just be deleted.
@kshyatt
Copy link
Contributor

kshyatt commented Jan 8, 2017

Everyone seems peachy keen on this and it's been open for a few days so I'm pressing the button.

@kshyatt kshyatt merged commit 69c1c8f into master Jan 8, 2017
@kshyatt kshyatt deleted the sk/include1only branch January 8, 2017 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants