mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 23:09:59 +02:00
* fixed the type of self in Objective-C category methods
git-svn-id: trunk@30948 -
This commit is contained in:
parent
703e31512d
commit
fa9ba26cb4
@ -235,6 +235,8 @@ implementation
|
||||
type or equal to an instance of it }
|
||||
if is_objectpascal_helper(tprocdef(pd).struct) then
|
||||
selfdef:=tobjectdef(tprocdef(pd).struct).extendeddef
|
||||
else if is_objccategory(tprocdef(pd).struct) then
|
||||
selfdef:=tobjectdef(tprocdef(pd).struct).childof
|
||||
else
|
||||
selfdef:=tprocdef(pd).struct;
|
||||
{ Generate self variable, for classes we need
|
||||
|
Loading…
Reference in New Issue
Block a user