Objective-P doesn't compile with protocol methods.
Original Reporter info from Mantis: skalogryyz
-
Reporter name: Dmitry Boyarintsev
Original Reporter info from Mantis: skalogryyz
- Reporter name: Dmitry Boyarintsev
Description:
program Project1;
{$mode objfpc}{$H+}
{$modeswitch objectivec1}
uses
CocoaAll;
var
l : NSRecursiveLock;
begin
l:=NSRecursiveLock.alloc;
l.lock; // Error: identifier idents no member "lock"
l.unlock;
l.release;
end.
NSRecursiveLock implements NSLockingProtocol so the method should be available.
Mantis conversion info:
- Mantis ID: 17341
- Fixed in version: 2.6.0
- Fixed in revision: 16523 (#3a089cea)