Index: TODO =================================================================== diff -u -rfa18300f1eee8e1998930245b22982c605c071da -raaced4467cdf9fd24e428c1a319b355fb038412d --- TODO (.../TODO) (revision fa18300f1eee8e1998930245b22982c605c071da) +++ TODO (.../TODO) (revision aaced4467cdf9fd24e428c1a319b355fb038412d) @@ -2081,7 +2081,22 @@ i use usually just 2, 4 are ok as well; we should decide. +- removed method "setter" from nx +- removed method "setter" from migration guide +- nx method "attribute": changed name of nonposarg from "slotclass" to "class" +- fix bug for "C class-object attribute foo" (incorrect forwarder) +- extended regression test + +- doctools: changed "-slotclass" to "-class" +- nx::test: made differences in regression test easier to read + +- serializer: updated serializer to avoid calls to "setter" +- extended regression test + + TODO: +- info method definition for attributes? +- remove "setter" from documentation - check performance implications of value conflict checker Index: doc/next-migration.html =================================================================== diff -u -r09fdaef530d334f8ea065db60b20a644c671e74d -raaced4467cdf9fd24e428c1a319b355fb038412d --- doc/next-migration.html (.../next-migration.html) (revision 09fdaef530d334f8ea065db60b20a644c671e74d) +++ doc/next-migration.html (.../next-migration.html) (revision aaced4467cdf9fd24e428c1a319b355fb038412d) @@ -1041,7 +1041,6 @@ # # method # forward -# setter # alias # attribute # @@ -1122,14 +1121,12 @@ http://www.gnu.org/software/src-highlite -->
# Define setter and getter methods -Class create C { - :setter p1 ?value_constraint? - :class-object setter p2 ?value_constraint? -} +Class create C +::nsf::setter C p1 +::nsf::setter C -per-object p2 -Object create o { - :setter p3 ?value_constraint? -}+Object create o +::nsf::setter o p3
# Method modifiers orthogonal over all kinds of methods # # Method-definition-methods: -# method, forward, setter, alias, attribute +# method, forward, alias, attribute Class create C { :/method-definiton-method/ ... @@ -1256,7 +1253,7 @@ ::nx::configure defaultMethodCallProtection true|false can be used to set the default call protection for scripted methods, forwarder and aliases, while ::nx::configure defaultAttributeCallProtection true|false can set the -default for attributes and setters.
# Set instance variable of object obj to a value via -# resolver (preferred way: define setter method on obj) +# resolver (preferred way: define attribute on obj) /obj/ eval [list set /:varName/ ?value?]