You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2016/12/22 10:55:58 UTC

[jira] [Resolved] (FELIX-5465) [gogo][runtime] No way to concatenate arrays

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

Guillaume Nodet resolved FELIX-5465.
------------------------------------
    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java
	M	gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/TestParser4.java
Committed r1775620


> [gogo][runtime] No way to concatenate arrays
> --------------------------------------------
>
>                 Key: FELIX-5465
>                 URL: https://issues.apache.org/jira/browse/FELIX-5465
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: gogo.runtime-1.0.4
>
>
> There's no way to easy concatenate arrays.
> We should have 
> {code}
> g! a = [1 2 3]
> 1
> 2
> 3
> g! b = [ a b c ]
> a
> b
> c
> g! c = [ ${a[@]} ${b[@]} ]
> 1
> 2
> 3
> a
> b
> c
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)