New topic: 

phantom calling of computed properties

<http://forums.realsoftware.com/viewtopic.php?t=47079>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        doofus          Post subject: phantom calling of computed 
propertiesPosted: Tue Feb 26, 2013 7:07 am                                 
Joined: Thu Sep 10, 2009 2:50 am
Posts: 357
Location: Santa Cruz, CA, USA                I've been stepping through someone 
elses class trying to understand it. It's making sense except that stepping 
past the end of the constructor it goes to the set method of a computed 
property. This method is the only thing in the method stack and I can't figure 
out from where or why it's getting called.

Not all computed properties are called in this post-constructor/pre-open time. 
Most (but not all) had associated properties checking in the Property List 
Behavior; unchecking them made no difference.

I made a new project, added a Canvas subclass with public computed property 
'test As boolean', put it on a window and test.set is called. Mark 'test' as 
protected and it's not called. But that doesn't match the behavior in the class 
I'm investigating where all computed properties are public and only some are 
called.

ok, it's a bug...
Feedback 12337 and 17199
viewtopic.php?f=1&t=33101&hilit=computed+property+constructor&start=15
happens as far back as 2009r3.

I rarely use computed properties and now i won't until this is fixed. I've 
answered my own question here but please consider giving some points to 12337. 
Thanks for your time -d   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to