I suppose we should have laid down the law and said not to let people put
methods in states..

On Wed, Sep 30, 2009 at 12:14 PM, P T Withington <[email protected]> wrote:

> This is for the extremely obscure case of a method in a state or dataset --
> those methods really have to go into the parent node.  I am not smart enough
> to make that transformation at compile time, so I compile it as a function
> using 'with (this)' and move it at runtime (when the state/dataset is
> instantiated).
>
> If you move the with(this) outside of the try/catch, does it work?  That's
> not completely correct, but it would be one thing I could try.
>
>
> On 2009-09-30, at 11:59, Henry Minsky wrote:
>
>  Why do we have the "with (this) ..." in the function body?
>>
>> On Wed, Sep 30, 2009 at 9:05 AM, P T Withington <[email protected]> wrote:
>>
>>  Thanks!  I guess you are going to win another T-shirt.
>>>
>>> Now to see if there is some way I can work around this...
>>>
>>>
>>> On 2009-09-30, at 08:56, Henry Minsky wrote:
>>>
>>> I filed a bug with Adobe as https://bugs.adobe.com/jira/browse/ASC-3849
>>>
>>>>
>>>>
>>>>
>>>> On Wed, Sep 30, 2009 at 12:13 AM, Henry Minsky <
>>>> [email protected]
>>>>
>>>>> wrote:
>>>>>
>>>>
>>>> Here's the test case, it looks like the return out of the "with (this)"
>>>>
>>>>> is
>>>>> screwing up the flex runtime
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> [email protected]
>>
>
>


-- 
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to