Problem
Dead code detection tests are failing because they expect certain behaviors that have changed in the latest fortfront.
Affected Tests
- test_dead_code_detection.f90
- Related integration tests
Issues
- Variable detection in conditional expressions may need adjustment
- Control flow graph generation has been updated in fortfront
- Some test expectations may no longer be valid
Solution
- Review and update test cases to match new fortfront behavior
- Ensure dead code detection leverages the improved control flow analysis from fortfront PR #101
- Update test assertions to match actual capabilities
Related
This is a follow-up to fortfront issue #99 which improved dead code detection capabilities.