You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Justin Leet (JIRA)" <ji...@apache.org> on 2017/08/06 02:36:00 UTC
[jira] [Assigned] (METRON-693) Stellar REPL lets reserved tokens be
used as unusable variable names
[ 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)