Skip to content

engine: init ordering splits module paths on the wrong separator #567

Closed

Description

@bpowers

The init and dt dependency ordering in src/simlin-engine/src/model.rs split a module input's source name on ASCII . to find the module it comes from.
Parsed names use · (U+00B7) as the module separator, so the split never matched a real module path.
It used the whole name instead, which made the branch dead code.

Current state

The code is gone.
It was deleted with the rest of that dependency path in a42654b (#991), and nothing else in model.rs splits names on ASCII ..
Dependency ordering now comes from db::dep_graph over resolved dependency references, which never split a name.

Pointers

Activity

  1. added
    engine
    bug
    on Jun 8, 2026
  2. changed the title [-]engine: model.rs init/module dep split uses ASCII '.' but canonical module separator is U+00B7 (dead/incorrect branch)[/-] [+]engine: init ordering splits module paths on the wrong separator[/+] on Oct 12, 2026
  3. bpowers commented on Oct 12, 2026

    @bpowers
    OwnerAuthor

    Closing: already fixed on main.

    The code is gone: the dependency-ordering path in src/simlin-engine/src/model.rs was deleted in a42654b (#991); model.rs is 370 lines and contains no ASCII '.' split, and no non-test file under src/simlin-engine/src/db/ splits a name on '.'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugengine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions