Skip to content

Bug: kbdactions-enumerable-ctor-bypasses-duplicate-guard #444

Description

@drmoisan
  • Work Mode: full-bug

Summary

KbdActions<TKey, UClass, VDelegate> enforces a duplicate-registration guard in Add, but the
IEnumerable<UClass> constructor bypasses it entirely. Production code registers a duplicate through
that constructor, which makes a subsequent lookup for that key throw InvalidOperationException.

Environment

(not provided in potential file)

Steps to Reproduce

(not provided in potential file)

Expected Behavior

(not provided in potential file)

Actual Behavior

(not provided in potential file)

Logs / Screenshots

(not provided in potential file)

Impact / Severity

(not provided in potential file)

Source

From: docs/features/potential/2026-08-07-kbdactions-enumerable-ctor-bypasses-duplicate-guard.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions