Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
11 stars 0 forks source link

Compute backward slice for statement in block lambdas #1113

Open lars-reimann opened 2 months ago

lars-reimann commented 2 months ago

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.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response