Skip to content

[Low] Dead Code in resolver.py Line 76 #126

@Mnehmos

Description

@Mnehmos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreCore language semantics and designpriority-lowNice to have

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions