Handle Switch in Taclets w/o Transformer#3761
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3761 +/- ##
============================================
- Coverage 50.34% 50.27% -0.07%
- Complexity 15902 15944 +42
============================================
Files 1597 1603 +6
Lines 91026 91281 +255
Branches 14554 14579 +25
============================================
+ Hits 45824 45895 +71
- Misses 39988 40145 +157
- Partials 5214 5241 +27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #3761 +/- ##
============================================
- Coverage 50.48% 41.09% -9.40%
+ Complexity 16158 461 -15697
============================================
Files 1620 66 -1554
Lines 92011 2740 -89271
Branches 14705 490 -14215
============================================
- Hits 46455 1126 -45329
+ Misses 40292 1540 -38752
+ Partials 5264 74 -5190 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Intended Change
Instead of relying on the switch-to-if transformer, which may have some bugs, this PR attempts to handle switch statements purely in taclets.
The general approach is to mark the branch currently executed as the
active-case.Plan
Type of pull request
Ensuring quality
.github/workflows/tests.ymlAdditional information and contact(s)
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.