[jira] [Assigned] (METRON-693) Stellar REPL lets reserved tokens be used as unusable variable names

2017-08-06 Thread Otto Fowler (JIRA)

 [ 
https://issues.apache.org/jira/browse/METRON-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Otto Fowler reassigned METRON-693:
--

Assignee: Otto Fowler

I believe METRON-1090 resolves this

> 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: Otto Fowler
>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.4.14#64029)


[jira] [Assigned] (METRON-693) Stellar REPL lets reserved tokens be used as unusable variable names

2017-08-05 Thread Justin Leet (JIRA)

 [ 
https://issues.apache.org/jira/browse/METRON-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Leet reassigned METRON-693:
--

Assignee: (was: Justin Leet)

> 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
>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.4.14#64029)