You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2010/07/14 10:28:50 UTC
[jira] Created: (FELIX-2477) [gogo] shell procedural commands don't
inherit closure arguments
[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
Reporter: Derek Baum
Assignee: Derek Baum
Priority: Minor
Fix For: gogo-0.8.0
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.
[jira] Updated: (FELIX-2477) [gogo] shell procedural commands don't
inherit closure arguments
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (FELIX-2477) [gogo] shell procedural commands
don't inherit closure arguments
Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derek Baum resolved FELIX-2477.
-------------------------------
Resolution: Fixed
> [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
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.8.0
>
>
> 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.