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

Compute backward slice for statement in block lambdas #1113

Open
lars-reimann opened this issue Apr 27, 2024 · 0 comments
Open

Compute backward slice for statement in block lambdas #1113

lars-reimann opened this issue Apr 27, 2024 · 0 comments
Labels
enhancement 💡 New feature or request
Milestone

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Apr 27, 2024

Is your feature request related to a problem?

The generated lambdas code contains statements that

  1. Have no side effects.
  2. Don't influence their result.

Desired solution

Compute the backward slice to the lambda results and keep only those statements.

  • Generalize computeBackwardSlice to work with SdsAssignee instead of SdsPlaceholder
  • Add an option to always include statements with side effects.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

@lars-reimann lars-reimann added the enhancement 💡 New feature or request label Apr 27, 2024
@lars-reimann lars-reimann added this to DSL Apr 27, 2024
@github-project-automation github-project-automation bot moved this to Backlog in DSL Apr 27, 2024
@lars-reimann lars-reimann added this to the Future milestone Apr 30, 2024
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
Status: Backlog
Development

No branches or pull requests

1 participant