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

Allow macrocall in function def syntax #456

Merged
merged 4 commits into from
Aug 2, 2024
Merged

Allow macrocall in function def syntax #456

merged 4 commits into from
Aug 2, 2024

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    8543f48 View commit details
    Browse the repository at this point in the history
  2. Update src/parser.jl

    Co-authored-by: Claire Foster <aka.c42f@gmail.com>
    Keno and c42f authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    0dc7e7b View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    5913117 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Make function (@f(x)) body end an ambiguity error

    This case is ambiguous as it might be either one of the following;
    require the user to explicitly disambiguate between them
    
    ```
    function (@f(x),)
        body
    end
    
    function @f(x)
        body
    end
    ```
    
    For the same reasons, `function ($f) body end` is also ambiguous.
    
    Also fix parsing of `function (f(x),) end` to correctly emit a tuple.
    c42f committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6f62399 View commit details
    Browse the repository at this point in the history