-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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: move Vararg specType rewriting into dispatch #16159
Commits on Apr 29, 2016
-
Add a length parameter N to Vararg, Vararg{T,N}
This also: - adds an enum classification of Vararg types - implements a few convenience functions - switches some checks from jl_is_va_tuple to jl_va_tuple_kind(t) == JL_VARARG_UNBOUND - updates jl_wrap_vararg to take two inputs - displays such Varargs properly in the REPL
Configuration menu - View commit details
-
Copy full SHA for c9fe086 - Browse repository at this point
Copy the full SHA c9fe086View commit details -
Configuration menu - View commit details
-
Copy full SHA for cde289a - Browse repository at this point
Copy the full SHA cde289aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 458cdde - Browse repository at this point
Copy the full SHA 458cddeView commit details -
Add new jl_tuple_subtype_ algorithm
This leaves the old one in place and compares the results of the two. This way we can catch bugs immediately, rather than trying to deduce what went wrong from the indirect consequences.
Configuration menu - View commit details
-
Copy full SHA for 0b53e36 - Browse repository at this point
Copy the full SHA 0b53e36View commit details -
Test jl_subtype_le more thoroughly, return "new" result
This also makes tweaks to the algorithm to prevent matches like Array{Tuple{Int}} <: Array{NTuple}
Configuration menu - View commit details
-
Copy full SHA for 4acbe56 - Browse repository at this point
Copy the full SHA 4acbe56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6125202 - Browse repository at this point
Copy the full SHA 6125202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 469a244 - Browse repository at this point
Copy the full SHA 469a244View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c5848 - Browse repository at this point
Copy the full SHA d0c5848View commit details -
Update typejoin for new Varargs
This also turns debugging output back on in preparation for the final implementation The cmdlineargs test fails, but only due to the extra output generated.
Configuration menu - View commit details
-
Copy full SHA for a4903e4 - Browse repository at this point
Copy the full SHA a4903e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 302a951 - Browse repository at this point
Copy the full SHA 302a951View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f2cd6a - Browse repository at this point
Copy the full SHA 5f2cd6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15d95ad - Browse repository at this point
Copy the full SHA 15d95adView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed641b3 - Browse repository at this point
Copy the full SHA ed641b3View commit details -
Fix problem with NTuple instantiation
Matching the symbols turns out to be really dangerous, it's necessary to match pointers.
Configuration menu - View commit details
-
Copy full SHA for 6b96ae7 - Browse repository at this point
Copy the full SHA 6b96ae7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 162c92d - Browse repository at this point
Copy the full SHA 162c92dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 396b0ac - Browse repository at this point
Copy the full SHA 396b0acView commit details -
Don't assume a limited set of types for N in Vararg{T,N}
Needed for NTuple{Integer} declarations like found in sparsematrix.jl.
Configuration menu - View commit details
-
Copy full SHA for 52708c5 - Browse repository at this point
Copy the full SHA 52708c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11cdf6f - Browse repository at this point
Copy the full SHA 11cdf6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f7f8e - Browse repository at this point
Copy the full SHA 08f7f8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 919604e - Browse repository at this point
Copy the full SHA 919604eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b26138 - Browse repository at this point
Copy the full SHA 8b26138View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1711ea5 - Browse repository at this point
Copy the full SHA 1711ea5View commit details -
Fix Type{Tuple{}} <: Type{NTuple{TypeVar(:N,true)}}
On current master, this gave true but Type{Tuple{}} <: Type{Tuple{Vararg}} gave false. Now they both give true.
Configuration menu - View commit details
-
Copy full SHA for db39b22 - Browse repository at this point
Copy the full SHA db39b22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 974a73c - Browse repository at this point
Copy the full SHA 974a73cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dc43c5 - Browse repository at this point
Copy the full SHA 8dc43c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 908047b - Browse repository at this point
Copy the full SHA 908047bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddf288b - Browse repository at this point
Copy the full SHA ddf288bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9ed2b - Browse repository at this point
Copy the full SHA ac9ed2bView commit details -
normalize more Tuple{Vararg{T,N}} to Tuple{T,...}
c.f. "Instantiate Tuple{Vararg{Int,3}} as Tuple{Int,Int,Int}"
Configuration menu - View commit details
-
Copy full SHA for 9f3f075 - Browse repository at this point
Copy the full SHA 9f3f075View commit details
Commits on Apr 30, 2016
-
apply type-signature correction to ml-matches
this ensures that type-inference gets the same method signature from type-intersection as will be used for the actual call
Configuration menu - View commit details
-
Copy full SHA for 0bd3fb5 - Browse repository at this point
Copy the full SHA 0bd3fb5View commit details
Commits on May 2, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 578fe68 - Browse repository at this point
Copy the full SHA 578fe68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47101ac - Browse repository at this point
Copy the full SHA 47101acView commit details