Closed milktrader closed 10 years ago
This PR is premature as it only addresses syntax changes in v0.4
@milktrader - I just (inadvertently) submitted a similar PR. What do you mean that yours was premature?
The warnings only apply to v0.4
and removing them would involve syntax change that doesn't apply to v0.3
, thereby breaking the package on v0.3
, which is the current stable release.
Does your PR have a control flow like this?
if VERSION < v"0.4-"
# use new syntax
else
# use old syntax
end
The Compat
package is designed to take of this but I haven't actually used the package yet.
I did it using Compat and using @compat
before Dict
. This works in 0.3 and 0.4.
Cool!
I need to learn this. Can you point me to your code?
I take it back :) @compat broke 0.4. It's fixed now. Check out my PR for details: https://github.com/JuliaWeb/GnuTLS.jl/pull/28/files .
Changes Unknown when pulling 481a70a3eab90e0d0315a306b75397e3b2978af2 on milktrader:master into \ on JuliaWeb:master**.