[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
xlint/create is bad for you
- To: <roland@son-of-blob>, <xtech@son-of-blob>
- Subject: xlint/create is bad for you
- From: <eric@son-of-blob>
- Date: Fri, 13 Jul 90 14:25:55 PDT
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 -