Skip to content

Array indexing doesn't count as variable usage #2905

Description

@Denneisk

Description:
Using array access on a variable does not mark the variable as used, therefore making it warn as unused.

To Reproduce:

  1. Create an array or table in E2
  2. Set an index to anything
  3. Receive warning
let Table = table()
Table[1] = "test"

Expected behavior:
The variable should be marked as used.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions