Skip to content

[Bug] hs_persist_state silently ignores function names #2

@lepeuvedic

Description

@lepeuvedic

Summary

Passing a function name to hs_persist_state produces an empty state string with no warning.

Current behavior

  • Functions are silently ignored.
  • Callers cannot detect misuse when a function name is accidentally passed.

Expected behavior

  • Detect function names and fail with a clear error (or emit a warning).

Severity

Medium.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backward-compatibleChanges that maintain backward compatibilitybugSomething isn't workingbugfixBug fix branch typemediumMedium severity issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions