Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Compatibility with Julia 0.7 #51

Open
omus opened this issue Apr 16, 2018 · 0 comments
Open

Compatibility with Julia 0.7 #51

omus opened this issue Apr 16, 2018 · 0 comments

Comments

@omus
Copy link
Member

omus commented Apr 16, 2018

I was spent some time getting more familiar with the NamedTuples code and I think the best way to have this package be both Julia 0.6 and 0.7 compatible would be to:

  1. Remove some of the NamedTuples.jl features that aren't supported in 0.7 (e.g. getindex(::NamedTuple, ::AbstractVector) -> NamedTuple)
  2. Make abstract type NamedTuple end in 0.6 be abstract type NamedTuple{K, V<:Tuple} end to be more consistent with 0.7. With this change we should also be able to deprecate the @NT(a::Int64, b::Float64) and @NT( a, b )( 1, "hello") syntax.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant