View Issue Details

IDProjectCategoryView StatusLast Update
0031709FPCFCLpublic2017-04-25 15:35
ReporterAndrey ZubarevAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionProduct Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0031709: fcl-passrc error with 'reference' keyword
Description{$mode objfpc}
unit test;
interface
type
  pReference = ^Reference;
  Reference = object
              end;
implementation
end.

Gives Parser error: "Expected "to" at token ";" in file E:\zcad\other\pudgb\passrcerrors.pas at line 5 column 26"
TagsNo tags attached.
Fixed in Revision35950
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2017-04-25 14:49

administrator   ~0099924

Fixed, thanks for reporting.

Note that
Type
  T = ^Reference to procedure ;
is not allowed in Delphi !

Andrey Zubarev

2017-04-25 15:35

reporter   ~0099925

Thanks!

Issue History

Date Modified Username Field Change
2017-04-24 19:54 Andrey Zubarev New Issue
2017-04-24 22:50 Michael Van Canneyt Assigned To => Michael Van Canneyt
2017-04-24 22:50 Michael Van Canneyt Status new => assigned
2017-04-25 14:49 Michael Van Canneyt Fixed in Revision => 35950
2017-04-25 14:49 Michael Van Canneyt Note Added: 0099924
2017-04-25 14:49 Michael Van Canneyt Status assigned => resolved
2017-04-25 14:49 Michael Van Canneyt Fixed in Version => 3.1.1
2017-04-25 14:49 Michael Van Canneyt Resolution open => fixed
2017-04-25 14:49 Michael Van Canneyt Target Version => 3.2.0
2017-04-25 15:35 Andrey Zubarev Note Added: 0099925
2017-04-25 15:35 Andrey Zubarev Status resolved => closed