Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Alex Harui
tectedCtor:SubClass ) { >super(this); >} >} > >// public >public class SubClass2 { >public function SubClass2 () { >super(this); >} >} > >Doing so we've got the same base, is this code correct ? > >Frédéric THOMAS > >> From: aha...@adobe.com >

RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Frédéric THOMAS
ct: Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Mon, 6 Oct 2014 22:53:16 + > > Already, the compiler knows if you do > > [Bindable] > public class MyClass { > public var foo:int; > } > > that it should auto-generate some code, then the wh

Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Alex Harui
nd that I've got no idea when and how. >Frédéric THOMAS > >> From: webdoubl...@hotmail.com >> To: dev@flex.apache.org >> Subject: RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up) >> Date: Mon, 6 Oct 2014 23:27:58 +0100 >> >> Hi Alex, >> &g

RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Frédéric THOMAS
t; To: dev@flex.apache.org > Subject: RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Mon, 6 Oct 2014 23:27:58 +0100 > > Hi Alex, > > > I have no idea what the right answer is, but I was wondering if you could > > try to describe (in AS code) what scenar

RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Frédéric THOMAS
édéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Mon, 6 Oct 2014 21:57:09 + > > Hi Fred, > > I have no idea what the right answer is, but I was wondering if you could > try t

Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Alex Harui
On 10/6/14, 3:06 PM, "OmPrakash Muppirala" wrote: >On Mon, Oct 6, 2014 at 2:57 PM, Alex Harui wrote: >>Similarly, are there any AS Singleton patterns that are sufficient? Such >> as: >> >> public class MySingleton >> { >> public function MySingleton(secretToken:SecretToken) >> { >>

Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread OmPrakash Muppirala
gt; >ABCParser, I would pass for example pass "protected:MyConstructorName", > >tweak the FunctionNode:isConstructor accordingly and remove the > >CMImplitNS checks as I did until now, what do you think, do you see any > >problem with this approach ? > > > >

Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Alex Harui
ctionNode:isConstructor accordingly and remove the >CMImplitNS checks as I did until now, what do you think, do you see any >problem with this approach ? > >More over if the latter appears to be a valid option, it could be used >for the method overloading. > >Thanks, >Frédéri

RE: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-06 Thread Frédéric THOMAS
option, it could be used for the method overloading. Thanks, Frédéric THOMAS > Subject: Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up) > From: gsmit...@hotmail.com > Date: Sun, 5 Oct 2014 09:24:14 -0700 > To: dev@flex.apache.org > > It's a bit different in that

Re: AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-05 Thread Gordon Smith
enforce it. > > Chris > > > -Ursprüngliche Nachricht- > Von: Gordon Smith [mailto:gsmit...@hotmail.com] > Gesendet: Sonntag, 5. Oktober 2014 04:36 > An: dev@flex.apache.org > Betreff: Re: [Falcon] Constructor NS (was: [Falcon] starting up) > > In ge

AW: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-05 Thread Christofer Dutz
alcon] Constructor NS (was: [Falcon] starting up) In general the ActionScript Virtual Machine enforces access modifiers (so that, for example, something marked private is truly inaccessible by any means outside the class) but I don't think the AVM enforces non-public constructors. I'm

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-05 Thread Frédéric THOMAS
; To: dev@flex.apache.org > Subject: RE: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Sun, 5 Oct 2014 06:55:47 +0100 > > Gorgon, sorry as well, I didn't mean FB but FP, I use to write faster than I > think :P > > Frédéric THOMAS > > > From: we

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
Gorgon, sorry as well, I didn't mean FB but FP, I use to write faster than I think :P Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [Falcon] Constructor NS (was: [Falcon] starting up) > Date: Sun, 5 Oct 2014 06:31:26 +0100 > > @

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
to review > it if you don't mind, and for the reflection maybe there will be some tricks > but as I do it at the moment, even the legacy compiler raise a verify error > when I try to instantiate a class with a private ctor. > > > Frédéric THOMAS > > > Subj

RE: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
compiler raise a verify error when I try to instantiate a class with a private ctor. Frédéric THOMAS > Subject: Re: [Falcon] Constructor NS (was: [Falcon] starting up) > From: gsmit...@hotmail.com > Date: Sat, 4 Oct 2014 19:35:42 -0700 > To: dev@flex.apache.org > > In general

Re: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Gordon Smith
and therefore will probably require some > help for the best way to implement it. > > Exciting to see these kind of experiments. A really good usecase for > private constructor would be to create a Singleton class, I.e a class that > cannot be instantiated outside of itself. Would that be so

Re: [Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread OmPrakash Muppirala
r and therefore will probably require some help for the best way to implement it. Exciting to see these kind of experiments. A really good usecase for private constructor would be to create a Singleton class, I.e a class that cannot be instantiated outside of itself. Would that be something you

[Falcon] Constructor NS (was: [Falcon] starting up)

2014-10-04 Thread Frédéric THOMAS
therwise I can't see any usage of a protected constructor and therefore will probably require some help for the best way to implement it. Thanks, Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [Falcon] starting up > Date: Wed, 1 O

RE: [Falcon] starting up

2014-10-01 Thread Frédéric THOMAS
Ah ok, thanks Gordon, I was tearing my hair out :-) Frédéric THOMAS > Subject: Re: [Falcon] starting up > From: gsmit...@hotmail.com > Date: Wed, 1 Oct 2014 08:51:16 -0700 > To: dev@flex.apache.org > > That comment is out of date. Code Model was the part of pre-Falcon Fla

Re: [Falcon] starting up

2014-10-01 Thread Gordon Smith
> ConstructorMustBePublicProblem(node.getActualNamespaceNode())); > > What is the CM or Code Model ? > > Thanks, > Frédéric THOMAS > >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [Falcon] starting up >> Date: Wed, 1 Oct 2014 13

RE: [Falcon] starting up

2014-10-01 Thread Frédéric THOMAS
null && node.getActualNamespaceNode().getName() != IASKeywordConstants.PUBLIC) problems.add(new ConstructorMustBePublicProblem(node.getActualNamespaceNode())); What is the CM or Code Model ? Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re

Re: [Falcon] starting up

2014-10-01 Thread Alex Harui
Could you have an old guava.jar? On 10/1/14 4:32 AM, "Frédéric THOMAS" wrote: >Hi, > >I built it with ANT an ran Falcon compc.bat from the generated/dist/sdk, >does anyone knows why I get that ? > >Exception in thread "main" java.lang.NoClassDefFoundError: >com/google/common/cache/CacheLoader >

[Falcon] starting up

2014-10-01 Thread Frédéric THOMAS
Hi, I built it with ANT an ran Falcon compc.bat from the generated/dist/sdk, does anyone knows why I get that ? Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/cache/CacheLoader at org.apache.flex.compiler.clients.MXMLC.(MXMLC.java:379) at org.apache.flex.c