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

WIP: Make too-many-arguments errors span fn header only #2599

Closed
wants to merge 1 commit into from
Closed

WIP: Make too-many-arguments errors span fn header only #2599

wants to merge 1 commit into from

Commits on Mar 31, 2018

  1. Make too-many-arguments errors span fn header only

    The HIR API has no span for just the function header. This commit handles that
    by using the entire function span until the start of the body expression. This
    isn't perfect because it includes spaces after the header.
    
    Closes #2488
    Michael Wright committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    ff16aa7 View commit details
    Browse the repository at this point in the history