You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/09/21 21:06:33 UTC

[jira] Updated: (FELIX-1473) [gogo] The syntax does not provide a way to call methods on a string

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

Richard S. Hall updated FELIX-1473:
-----------------------------------

        Fix Version/s: gogo-0.6.1
                           (was: gogo-0.8.0)
    Affects Version/s: gogo-0.6.0

> [gogo] The syntax does not provide a way to call methods on a string
> --------------------------------------------------------------------
>
>                 Key: FELIX-1473
>                 URL: https://issues.apache.org/jira/browse/FELIX-1473
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Runtime
>    Affects Versions: gogo-0.6.0
>            Reporter: Guillaume Nodet
>            Assignee: Derek Baum
>             Fix For: gogo-0.6.1
>
>         Attachments: FELIX-1473.patch
>
>
> When the first argument is a string, gogo considers it to be a command.
> The problem is that it leads to unpredictible behavior when using variables
> > $a length
> Depending on the type of $a, it will either try to call a command named by the value of $a, or call the length method on the $a object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.