On Sat, Oct 3, 2009 at 08:13, Martin <[email protected]> wrote: >> Right. A C++ style "const" attribute were helpful, in order to distinguish >> between mere "inspectors" and other getters that change the state of an >> object. Or we could add an "inspect" directive to the property "read" and >> "write" directives... >> >> "property" ... "read" GetProp ["const"] ["inspect" SeeProp] ... > > That would certainly have a positive side effect here. It would be much more > interesting for code optimisation by the compiler....
Or compiler could deduce this attribute itself and store it in debug info. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
