Maybe this kind of issue is better done in royale-compiler repo since is more about compiler?
El mar., 7 jul. 2020 a las 13:15, Hugo Ferreira (<[email protected]>) escribió: > Done: https://github.com/apache/royale-asjs/issues/885 > I hope is the right place. > > Alex Harui <[email protected]> escreveu no dia segunda, 6/07/2020 > à(s) 18:01: > > > Please file a bug with a small test case. > > > > Thanks, > > -Alex > > > > On 7/5/20, 2:39 PM, "Hugo Ferreira" <[email protected]> wrote: > > > > Replying to myself this feature from ActionScript, also exists on > > Royale, > > however it's the parameter is case sensitive. > > The correct implementation (but with the same behaviour as Flex) is: > > public function call(... Arguments):void > > Notice de "A" instead of "a". > > > > Hugo Ferreira <[email protected]> escreveu no dia quinta, > > 2/07/2020 > > à(s) 23:26: > > > > > With flex I can set an unknown number of parameters this way: > public > > > function call(... arguments):void > > > Then I can call this way myobject.call(parameter1, parameter2, etc > > ...) > > > > > > Inside of the method I get an array of parameters, however trying > to > > do > > > the same with Royale I get the very first parameter (a string) as > an > > array > > > of chars > > > > > > > > > > -- Carlos Rovira http://about.me/carlosrovira
