-
Notifications
You must be signed in to change notification settings - Fork 34
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
RFC: syntax update #29
Conversation
Syntax updating for compatibility with 0.6.0-dev Almost compatible with 0.5.0, except some problems marked in the test suite. Not sure what to do here: julia> PersistentSet(Integer[1,2,3]) ERROR: MethodError: Cannot `convert` an object of type Pair{Int64,Void} to an object of type Pair{Integer,Void} or here: julia> append(vec(1:31), 32) == vec(1:32) true julia> @test append(vec(1:31), 32) == vec(1:32) [...] ERROR: MethodError: no method matching unsafe_length(::Int64)
RFC: update syntax
Travis passes for |
Would love help making this functional. Ping @shashi as the last person to commit here I can unwind parts of this PR if too aggressive? |
You could either depend on BaseTestNext on 0.4, or bump the minimum Julia version to 0.5. |
Change `Integer` type to `Int64` and test covariance of dicts only for `VERSION > v"0.6"`
Thanks @tkelman. I took the easy way out, requiring |
Array(T,n) -> Array{T,1}(n)
Thanks @felixrehren! This is a great improvement. |
Since this is almost a complete rewrite, you should probably double-check that it won't break Arbiter or Patchwork, its reverse-dependencies. |
Not much has been rewritten, but code has been moved around. Just ran tests for Patchwork and Arbiter on 0.5 - all green. |
KVPair{K,V}
type with standardPair{K,V}
factcheck
to@test
usageAlmost compatible with 0.5.0, except some problems marked in the test suite. Not sure what to do here:
or here: