Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@liblit
Copy link
Contributor

@liblit liblit commented Dec 11, 2025

IntelliJ IDEA warns that this assert has side effects. In general, that's a likely bug because these effects would happen or not depending on the JVM's global assert-checking mode. However, in this specific case, the possible side effect is safe, because succs is never subsequently used after the assert.

IntelliJ IDEA warns that this `assert` has side effects.  In general,
that's a likely bug because these effects would happen or not depending
on the JVM's global `assert`-checking mode.  However, in this _specific_
case, the possible side effect is safe, because `succs` is never
subsequently used after the `assert`.
@liblit liblit requested a review from msridhar December 11, 2025 20:27
@liblit liblit self-assigned this Dec 11, 2025
@liblit liblit added ide Importing, building, and developing WALA in IDEs such as IntelliJ IDEA or Eclipse low-priority A lower priority bug for WALA developers, but one for which we will happily accept a PR labels Dec 11, 2025
@liblit liblit enabled auto-merge December 11, 2025 20:27
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.24%. Comparing base (a1f25d7) to head (172cff2).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1805      +/-   ##
============================================
- Coverage     50.25%   50.24%   -0.01%     
  Complexity    12657    12657              
============================================
  Files          1365     1365              
  Lines         85117    85117              
  Branches      14704    14704              
============================================
- Hits          42774    42771       -3     
- Misses        37548    37549       +1     
- Partials       4795     4797       +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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

Test Results

  848 files  ±0    848 suites  ±0   5h 39m 0s ⏱️ +11s
  800 tests ±0    781 ✅ ±0   19 💤 ±0  0 ❌ ±0 
5 484 runs  ±0  5 349 ✅ ±0  135 💤 ±0  0 ❌ ±0 

Results for commit 172cff2. ± Comparison against base commit a1f25d7.

@liblit liblit added this pull request to the merge queue Dec 12, 2025
Merged via the queue into wala:master with commit 4eb9621 Dec 12, 2025
13 checks passed
@liblit liblit deleted the allow-an-assert-with-side-effect branch December 12, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ide Importing, building, and developing WALA in IDEs such as IntelliJ IDEA or Eclipse low-priority A lower priority bug for WALA developers, but one for which we will happily accept a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants