[fpc-pascal] Internal error 2019022201 from function reference

Hairy Pixels genericptr at gmail.com
Fri Sep 9 18:05:38 CEST 2022


This program gives internal compiler error 2019022201 (Free Pascal Compiler version 3.3.1 [2022/05/27] for aarch64). Something is wrong with the PPU. This is a very basic program using function references so  it seems unlikely it could not be known. Any ideas?

============================

{$mode objfpc}
{$modeswitch functionreferences}

unit function_ref_error;
interface

type
  TCallback = record
    proc: reference to procedure;
  end;

implementation

end.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list