mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 05:29:10 +02:00
* use is_objccategory() instead of just checking for oo_is_classhelper when
looking for a category, as oo_is_classhelper is also set for Pascal class helpers (fixes crash caused by the fact that Object Pascal class helpers don't have childof set, while categories do -- mantis #29666) git-svn-id: trunk@33193 -
This commit is contained in:
parent
a0296d7311
commit
0da80d1a15
@ -3944,7 +3944,7 @@ implementation
|
||||
(for id.randommethod), so only check category methods here
|
||||
}
|
||||
defowner:=tobjectdef(tprocdef(tprocsym(srsym).procdeflist[i]).owner.defowner);
|
||||
if (oo_is_classhelper in defowner.objectoptions) and
|
||||
if is_objccategory(defowner) and
|
||||
def_is_related(pd,defowner.childof) then
|
||||
begin
|
||||
{ we need to know if a procedure references symbols
|
||||
|
Loading…
Reference in New Issue
Block a user