Skip to content

ty: narrow Event.direction after membership check (harness.py:57) #110

Description

@millsmillsymills

Pre-existing ty diagnostic surfaced during #106 review.

ty check tests/golden/harness.py reports a diagnostic at harness.py:57 (Event.from_json): Literal["tx","rx"] vs str for direction. Narrow direction after the in ("tx","rx") membership check so the assignment type-checks without the implicit widening. Independent of #106 (exists on phase1, untouched there).

Activity

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

    bugSomething isn't workingready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions