Recent

Author Topic: [Solved] Compiler crashes with objccategory  (Read 633 times)

engkin

  • Hero Member
  • *****
  • Posts: 2958
[Solved] Compiler crashes with objccategory
« on: September 24, 2021, 09:18:02 am »
Sample project:
Code: Pascal  [Select][+][-]
  1. program Project1;
  2.  
  3. {$mode objfpc}{$H+}
  4. {$ModeSwitch objectivec1}
  5.  
  6. uses
  7.   CoreBluetooth;
  8.  
  9. type
  10.   Test=objccategory(NSObject,CBCentralManagerDelegateProtocol)
  11.     procedure centralManagerDidUpdateState (central: CBCentralManager);
  12.   end;
  13.  
  14. begin
  15. end.

aarch64-darwin both FPC-3.2.2 and trunk

Any workaround?
« Last Edit: September 25, 2021, 06:32:05 pm by engkin »

engkin

  • Hero Member
  • *****
  • Posts: 2958
Re: Compiler crashes with objccategory
« Reply #1 on: September 25, 2021, 12:24:35 am »
Just created an issue for it: 39375.

 

TinyPortal © 2005-2018