Variable names #25

Open
opened 2022-08-16 17:52:23 +00:00 by Grandiras · 0 comments
Grandiras commented 2022-08-16 17:52:23 +00:00 (Migrated from github.com)

As variables can start with a number, references aren't possible at any time, as this number will be parsed as an integer.

To Reproduce

  1. Start a variable's name with a number: var 1test;
  2. Reference it: log(1test);

Expected behavior
I would either expect to not be allowed to name the variable this way or the reference to be correctly parsed.

As variables can start with a number, references aren't possible at any time, as this number will be parsed as an integer. **To Reproduce** 1. Start a variable's name with a number: var 1test; 2. Reference it: log(1test); **Expected behavior** I would either expect to not be allowed to name the variable this way or the reference to be correctly parsed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Darkymos/FAIL#25
No description provided.