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

Deprecated methods / types being used on the v0.4-rc branch #13052

Closed
jakebolewski opened this issue Sep 10, 2015 · 6 comments
Closed

Deprecated methods / types being used on the v0.4-rc branch #13052

jakebolewski opened this issue Sep 10, 2015 · 6 comments
Milestone

Comments

@jakebolewski
Copy link
Member

Filing this to make sure they are removed before the release.

@jakebolewski jakebolewski added this to the 0.4.x milestone Sep 10, 2015
@jakebolewski jakebolewski changed the title There is still deprecated methods / types being used on the v0.4-rc branch Deprecated methods / types being used on the v0.4-rc branch Sep 10, 2015
@jakebolewski
Copy link
Member Author

Actually, if you remove the deprecated methods from v0.4, the tests no longer pass.

@ssfrr
Copy link
Contributor

ssfrr commented Sep 10, 2015

Does the use of require by reload count for this?

julia> using FactCheck

julia> reload("FactCheck")
WARNING: `require` is deprecated, use `using` or `import` instead
 in depwarn at ./deprecated.jl:73
 in require at deprecated.jl:663
while loading no file, in expression starting on line 0
WARNING: replacing module FactCheck

julia> 

@JeffBezanson
Copy link
Member

Oh dear. It looks like the intent might have been to deprecate reload as well, but I wasn't aware of that. @vtjnash is that the case, or should we just remove the warning if reload is called?

@JeffBezanson
Copy link
Member

I also have a feeling some users will want to see an IncludeOnce.jl package providing a drop-in replacement for the old require.

@ivarne
Copy link
Member

ivarne commented Sep 10, 2015

Would it be reasonable to add a conditional on include("deprecated.jl") to enable travis to not include the deprecations in the system image when running tests?

@vtjnash
Copy link
Member

vtjnash commented Sep 10, 2015

Oh dear. It looks like the intent might have been to deprecate reload as well, but I wasn't aware of that. @vtjnash is that the case, or should we just remove the warning if reload is called?

no, this wasn't really the intention. however, it was intended to deprecate passing a filepath (as the example above shows), and only allow passing a module name (as a symbol). the warning above could be more exact here however.

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

5 participants