Skip to content

desktop: renaming a property whose value is NaN fails #177

Closed

Description

@bketelsen

internal/desktop/editor/properties.go (RenameProperty): the check that a rename kept the value uses reflect.DeepEqual, which never treats NaN as equal to itself. Renaming a: .nan is refused, although the value's bytes are intact.

Done when: the comparison accepts an unchanged NaN, with a test.

From the cross-review of #145 (re-review 3, finding N6, not blocking).

Activity

  1. added
    bug
    on Nov 11, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions