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

Do not track default values for parameters if given as argument #236

Open
EagleoutIce opened this issue Aug 23, 2023 · 2 comments · May be fixed by #783
Open

Do not track default values for parameters if given as argument #236

EagleoutIce opened this issue Aug 23, 2023 · 2 comments · May be fixed by #783
Assignees
Labels
enhancement New feature or request static slicing Related to slicing the source code statically

Comments

@EagleoutIce
Copy link
Member

EagleoutIce commented Aug 23, 2023

If we have something like f <- function(x=y) { x }, and two calls: f(3) and f(). The first one, does not require y, while the second one does. Currently, the static slicer includes and traces y both times. However, for the first call this is not necessary! We can potentially flag saturated arguments when visiting a function call.

@EagleoutIce EagleoutIce added enhancement New feature or request static slicing Related to slicing the source code statically labels Aug 23, 2023
@EagleoutIce
Copy link
Member Author

this should be tested, now that we have #526.

@EagleoutIce
Copy link
Member Author

related to #772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request static slicing Related to slicing the source code statically
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants