Skip to content

nil not listed as valid input for vector:set #6

@michaeljosephpurdy

Description

@michaeljosephpurdy

Documentation says to call vector:set with nil if you don't want the underlying x or y to be changed.

However, doing that ends up triggering LSP diagnostic message:

Diagnostics:
1. Cannot assign `nil` to parameter `number`.
   - `nil` cannot match `number`
   - Type `nil` cannot match `number` [param-type-mismatch]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions