Index: TODO =================================================================== diff -u -rd15bb1fa36c4f2cf118b2ce915928294e762d336 -rad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98 --- TODO (.../TODO) (revision d15bb1fa36c4f2cf118b2ce915928294e762d336) +++ TODO (.../TODO) (revision ad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98) @@ -3245,7 +3245,12 @@ - updated next-tutorial to the current naming conventions - added tests for using submethod handles +- changed Stack example in tutorial from constructor to :variable +- allow just valid specs for :attribute and :variable methods +- improved error message for invalid parameter specs (with leading colons) +- extended regression test + TODO: - strange refcounting bug in 8.6b2 bug-is-86.tcl Index: doc/next-tutorial.html =================================================================== diff -u -re92bab3b262d521ac909fd8956352473909197fb -rad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98 --- doc/next-tutorial.html (.../next-tutorial.html) (revision e92bab3b262d521ac909fd8956352473909197fb) +++ doc/next-tutorial.html (.../next-tutorial.html) (revision ad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98) @@ -818,8 +818,8 @@

2.1. Define a Class "Stack"

In our first example, we define a class named Stack with the methods push and pop. When an instance of the stack is created (e.g. a -concrete stack s1) the stack will be initialized via the constructor -init.

+concrete stack s1) the stack will contain an instance variable named +things initialized with the an empty list.

Listing 2: Class Stack