From b1c32d899b1c5cbfbeaee85b6384e9ad6740795b Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Mon, 9 Mar 2009 08:40:55 +0000 Subject: [PATCH] * fixed check for objc-methods passed to selector() git-svn-id: trunk@12871 - --- compiler/nobjc.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/nobjc.pas b/compiler/nobjc.pas index 19767f92f3..27f99755fd 100644 --- a/compiler/nobjc.pas +++ b/compiler/nobjc.pas @@ -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