[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

xlint/create is bad for you



I just encountered some code in IDSpace initialization that passed the
result of a constructor as the argument for a pseudoconstructor.  This
is not garbage collector safe, since the result of the constructor is
not a strong pointer.  Therefore, people should avoid and xlint++ should
catch the following
	[any function/pseudoconstructor] ( ... new Class (...) ... )
equivalently in smalltalk you should never do
	foo msg: Class create

	- e -