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

Keep track of optional parameters #1224

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

vinistock
Copy link
Member

Motivation

Step towards #899

Start keeping track of optional method parameters.

Implementation

Pretty clean, just started handling the optionals in the parameters node.

Note: we are not storing the default value of the parameter yet, but we may want to do so in the future. Especially when we have a reaching definitions implementation, we may be able to provide better type inference if we know the default values.

Automated Tests

Added a test.

@vinistock vinistock added the enhancement New feature or request label Nov 29, 2023
@vinistock vinistock self-assigned this Nov 29, 2023
@vinistock vinistock requested a review from a team as a code owner November 29, 2023 16:01
@vinistock vinistock merged commit 174277b into main Nov 29, 2023
30 checks passed
@vinistock vinistock deleted the vs/track_optional_parameters branch November 29, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants