pdecobj.pas, object_dec: * Always check for genericdef and genericlist and not genericdef and ifnot then genericlist. + added test git-svn-id: trunk@27877 -