Source
NLS Comprehensive Review (Feb 5, 2026) — Section 5
Description
In resolver.py line 76, there is a dict comprehension that isn't assigned to any variable:
{anlu.identifier: 0 for anlu in nl_file.anlus}
This is a leftover from refactoring — the original Kahn's algorithm approach was abandoned in favor of the simpler unresolved tracking on line 86, but the dead expression was never removed.
Fix
Remove the dead line. It's wasted computation and a code smell.
Severity
Low — no functional impact, code cleanup
Source
NLS Comprehensive Review (Feb 5, 2026) — Section 5
Description
In
resolver.pyline 76, there is a dict comprehension that isn't assigned to any variable:{anlu.identifier: 0 for anlu in nl_file.anlus}This is a leftover from refactoring — the original Kahn's algorithm approach was abandoned in favor of the simpler
unresolvedtracking on line 86, but the dead expression was never removed.Fix
Remove the dead line. It's wasted computation and a code smell.
Severity
Low — no functional impact, code cleanup