Skip to content

Allow true in more JML expressions#3664

Merged
wadoon merged 1 commit intoKeYProject:mainfrom
mattulbrich:fix3660
Sep 22, 2025
Merged

Allow true in more JML expressions#3664
wadoon merged 1 commit intoKeYProject:mainfrom
mattulbrich:fix3660

Conversation

@mattulbrich
Copy link
Member

Related Issue

This pull request resolves #3660.

Intended Change

See #3660 for details.

This fix allows true to be used as expression in more places in JML.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)
  • There are changes to the (Java) code

Ensuring quality

  • I made sure that introduced/changed code is well documented (javadoc and inline comments).
  • I added new test case(s) for new functionality. [to existing exprs.txt]

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

@codecov
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.06%. Comparing base (28025d8) to head (28d4dec).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3664      +/-   ##
============================================
- Coverage     47.16%   47.06%   -0.10%     
- Complexity    15801    15804       +3     
============================================
  Files          1673     1675       +2     
  Lines         96171    96331     +160     
  Branches      15397    15431      +34     
============================================
- Hits          45359    45339      -20     
- Misses        45641    45823     +182     
+ Partials       5171     5169       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mattulbrich mattulbrich changed the title fixes #3660 Allow true in more JML expressions Sep 22, 2025
@mattulbrich mattulbrich added this pull request to the merge queue Sep 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 22, 2025
@wadoon wadoon added this pull request to the merge queue Sep 22, 2025
@wadoon wadoon added this to the v2.12.4 milestone Sep 22, 2025
Merged via the queue into KeYProject:main with commit bb8f016 Sep 22, 2025
100 of 103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

true cannot be used in JML expressions

2 participants