RE: Compiler error using static function toString

2018-05-07 Thread Σπύρος Αγγελόπουλος
Done Issue #223 Spiros -Original Message- From: Alex Harui [mailto:aha...@adobe.com.INVALID] Sent: Friday, May 4, 2018 11:39 PM To: dev@royale.apache.org Subject: Re: Compiler error using static function toString Not too surprising... Can you file a GitHub issue with a simple test

Re: Compiler error using static function toString

2018-05-04 Thread Alex Harui
complain about that. -Spiros -Original Message- From: Alex Harui [mailto:aha...@adobe.com.INVALID] Sent: Friday, May 4, 2018 7:48 PM To: dev@royale.apache.org Subject: Re: Compiler error using static function toString Hmm. I agree that does

RE: Compiler error using static function toString

2018-05-04 Thread spiros aggelopoulos
Yes, if I rename the static function to "toStringSome" the compiler stop to complain about that. -Spiros -Original Message- From: Alex Harui [mailto:aha...@adobe.com.INVALID] Sent: Friday, May 4, 2018 7:48 PM To: dev@royale.apache.org Subject: Re: Compiler error using stati

Re: Compiler error using static function toString

2018-05-04 Thread Alex Harui
Hmm. I agree that doesn't make sense. Try changing the name of the function just to see if there is sensitivity to the "toString". "toString" is handled in a strange way in AS. -Alex On 5/4/18, 6:13 AM, "Spiros Aggelopoulos" wrote: Hi , there is a compiler error on the code bello

Compiler error using static function toString

2018-05-04 Thread Spiros Aggelopoulos
Hi , there is a compiler error on the code bellow, is any reason to avoid this type of code? Or it is a bug ? package org.comp { public class ToStringImp { public static function toString(str:String):String { return str;