Safe-DS / DSL

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

fix: generation of extra statements for parameters of expression lambdas #1137

Closed lars-reimann closed 2 months ago

lars-reimann commented 2 months ago

Closes #1136

Summary of Changes

Extra statements that were generated for the expression of an expression lambda were incorrectly placed outside the lambda. This broke the code generation for parameters of expression lambdas that were used as receivers of method calls (see the linked issue).

github-actions[bot] commented 2 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ REPOSITORY git_diff yes no 0.04s
✅ TYPESCRIPT eslint 1 0 0 4.46s
✅ TYPESCRIPT prettier 1 0 0 1.04s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0b059a1) to head (b870179). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1137 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 110 110 Lines 19186 19201 +15 Branches 4101 4102 +1 ========================================= + Hits 19186 19201 +15 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lars-reimann commented 2 months ago

:tada: This PR is included in version 0.14.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: