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: Type Signatures #22717

Open
trufae opened this issue Mar 18, 2024 · 0 comments
Open

RFC: Type Signatures #22717

trufae opened this issue Mar 18, 2024 · 0 comments

Comments

@trufae
Copy link
Collaborator

trufae commented Mar 18, 2024

The idea behind this ticket is to discuss the implementation of signatures that can be applied to types instead of functions.

The type signatures should match an specific amount of constraints in order to be selected as good candidates. F.ex:

  • Which fields are accessed its size and direction
  • Which functions takes them as argument
  • Alignment restrictions applied
  • Context with strings

Note that there's already some type inference support implemented by propagating only the types found in the function signatures. But there are more constrains that we can use in order to improve the quality of the autotyping as well as autonaming.

Reference links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant