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

wf: check foreign fn decls for well-formedness #73323

Merged

Commits on Jul 20, 2020

  1. wf: check foreign fn decls for well-formedness

    This commit extends current well-formedness checking to apply to foreign
    function declarations, re-using the existing machinery for regular
    functions. In doing this, later parts of the compiler (such as the
    `improper_ctypes` lint) can rely on being operations not failing as a
    result of invalid code which would normally be caught earlier.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    ceac273 View commit details
    Browse the repository at this point in the history