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

Statically checking function arguments and handling conversions in type inference #12335

Open
radeusgd opened this issue Feb 20, 2025 · 2 comments · May be fixed by #12362
Open

Statically checking function arguments and handling conversions in type inference #12335

radeusgd opened this issue Feb 20, 2025 · 2 comments · May be fixed by #12362
Assignees
Labels
-type-system Category: type system and type inference

Comments

@radeusgd
Copy link
Member

Next steps of #9811.

  • Implementing checking if the provided argument type (if known) matches the expected parameter type from the method.
  • To do so, also need to implement Conversions (as a type matches even if no direct match but there is a conversion in scope).
  • See what work from intersection types is needed.
@radeusgd radeusgd added the -type-system Category: type system and type inference label Feb 20, 2025
@radeusgd radeusgd self-assigned this Feb 20, 2025
@radeusgd radeusgd moved this from ❓New to 🔧 Implementation in Issues Board Feb 24, 2025
@enso-bot
Copy link

enso-bot bot commented Feb 25, 2025

Radosław Waśko reports a new STANDUP for yesterday (2025-02-24):

Progress: Implemented PoC for static conversion resolution, got basic type checking tests passing. It should be finished by 2025-02-26.

Next Day: Next day I will be working on the same task. Fix a few tests, run on Base to see what results would be.

@radeusgd radeusgd linked a pull request Feb 25, 2025 that will close this issue
5 tasks
@radeusgd radeusgd moved this from 🔧 Implementation to 👁️ Code review in Issues Board Feb 25, 2025
@enso-bot
Copy link

enso-bot bot commented Feb 25, 2025

Radosław Waśko reports a new STANDUP for today (2025-02-25):

Progress: Implemented reporting basic type mismatch warnings. Maturing the PR (adding some tests, implementing missing paths, cleaning up the code). Some final touches to discarded value PR. Also updated the align method precedence PR and updated the static analysis implementation to pass the added tests. All 3 PRs are ready for review. It should be finished by 2025-02-27.

Next Day: Next day I will be working on the #12357 task. Start work on Numeric_Column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-type-system Category: type system and type inference
Projects
Status: 👁️ Code review
Development

Successfully merging a pull request may close this issue.

1 participant