Justin Leet created METRON-693:
----------------------------------

             Summary: Stellar REPL lets reserved tokens be used as unusable 
variable names
                 Key: METRON-693
                 URL: https://issues.apache.org/jira/browse/METRON-693
             Project: Metron
          Issue Type: Bug
            Reporter: Justin Leet
            Assignee: Justin Leet
            Priority: Minor


Reserved tokens like '=' can be assigned with the variable assignment operator. 
 These "variables" can no longer be used, but show up in the %vars command.  
Reserved tokens should be disallowed.

Example
{code}
[Stellar]>>> test := 1
[Stellar]>>> 2 + 2 := 5
[Stellar]>>> = := 6
[Stellar]>>> %vars
2 + 2 = 5 via 5
test = 1 via 1
= = 6 via 6
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to