You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect typing on HintStatusJSONMessagePart.hint_status #9
I have read the above disclaimer and I am submitting a new bug report and have verified no other duplicate reports exist in the Issues or Discussions tabs.
Confirm
Describe the Issue
The HintStatusJSONMessagePart.hint_status has a compiled type of
instead of one of the numerical values it contains.
Reproduction Steps
This can reproduced by trying to use the value in a type aware manner. In this case the error is raised because an object type cannot be used as an index.
Expected Behavior
I would expect to be able to use the value as an index, as it is a number at run-time.
This seems to be due to converting the previously used enum on my fork to a constant object without changing the typing definition for the hint_status field, making the previous enum type refer to the constant object.
Activity
Fix hint_status typing on message nodes and parts (#10)
airbreather commentedon Oct 22, 2026
Resolved with #10