Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Simplify internal function signature representation #5

Open
scrabsha opened this issue Jul 7, 2021 · 0 comments
Open

Simplify internal function signature representation #5

scrabsha opened this issue Jul 7, 2021 · 0 comments

Comments

@scrabsha
Copy link
Contributor

scrabsha commented Jul 7, 2021

Similarly to #4, we need to drop information from the syn-generated AST, so that we avoid a lot incorrectly-detected breaking changes. Ideally we keep only the generic parameters, input type and output type. See at the end of the issue for an example of non-breaking change that is currently flagged as breaking.

Ideally this would be done after #4, but this is not mandatory.

This issue is part of #2.

Before
fn f(
    i: u32,
) {}
After
fn f(
    i: u32
) {}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant