On May 19, 2006, at 3:06 AM, P T Withington wrote: > Henry stumbled on a gray area in our traits implementation: What > should happen if you try to instantiate a trait? Should it be an > error, or should it default to creating an anonymous class with > Instance as the superclass?
I think it should be an error. It doesn't make sense to instantiate a trait -- what would be the base class? (And don't say Object -- the point of Traits is that they don't inherit from anything.) jim _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
