* fixed check for objc-methods passed to selector()

git-svn-id: trunk@12871 -
This commit is contained in:
Jonas Maebe 2009-03-09 08:40:55 +00:00
parent 6165536b5e
commit b1c32d899b

View File

@ -121,7 +121,7 @@ function tobjcselectornode.pass_typecheck: tnode;
loadn:
begin
if (left.resultdef.typ=procdef) and
(po_objc in tprocdef(procdef).procoptions) then
(po_objc in tprocdef(left.resultdef).procoptions) then
begin
{ ok }
end