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

RFC: controlling dispatch with varargs of defined length #10691

Closed
wants to merge 12 commits into from

Commits on Mar 31, 2015

  1. Parse x::T...N as Vararg{T,N}

    timholy committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    fc53d74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a34bd77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b426ec0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a9cbc6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8180be2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e81212e View commit details
    Browse the repository at this point in the history
  7. Add Vararg{T,N} tests

    timholy committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    9404895 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    334b6dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1fb3c91 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bb5c75a View commit details
    Browse the repository at this point in the history
  11. Vararg: disallow a space in parsing x...N between ... and N.

    Fixes a stack overflow in parsing
    atsign-`sprintf "%f %d %d %f" 1.0 [3 4]... 5`
    timholy committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    bc7b000 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2015

  1. Permit declarations of the form f(x::Vararg{Any})

    Fixes up the expanded ast so that jl_is_rest_arg, as called from
    emit_function (step 2), works properly and avoids a later segfault.
    timholy committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    fc42436 View commit details
    Browse the repository at this point in the history