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:36 UTC

[jira] Updated: (FELIX-2477) [gogo] shell procedural commands don't inherit closure arguments

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

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

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

> [gogo] shell procedural commands don't inherit closure arguments
> ----------------------------------------------------------------
>
>                 Key: FELIX-2477
>                 URL: https://issues.apache.org/jira/browse/FELIX-2477
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Shell
>    Affects Versions: gogo-0.6.0
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>            Priority: Minor
>             Fix For: gogo-0.6.1
>
>
> f = {
>     echo arg $1
>     if { echo arg $1 } {  }
> }
> in the closure above, you would expect $1 to expand the same in both cases, but it doesn't always as the procedural commands unnecessarily try to pass $args to their Function arguments; this is now handled by the runtime, so the procedural commands should pass null args.

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