View Issue Details

IDProjectCategoryView StatusLast Update
0031559FPCFCLpublic2017-03-18 10:53
ReporterAndrey ZubarevAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionProduct Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0031559: fcl-passrc error with genegics in delphi mode
Descriptionunit test111;
{MODE DELPHI}
interface
uses sysutils;
type
TTest<T> = packed object
             procedure foo(v:T);
           end;
implementation
procedure TTest<T>.foo(v:T);
begin
end;

Gives Expected "=" at token "<" in file E:\zcad\other\pudgb\passrcerrors.pas at line 6 column 6
TagsNo tags attached.
Fixed in Revision35616
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2017-03-17 22:14

administrator   ~0098988

That's normal. You made a mistake; it should be $MODE instead of MODE

But fixing that I see what probably is the real error: line 10.

Andrey Zubarev

2017-03-17 23:56

reporter   ~0098993

This is my typo. Of course line 10 column 16

unit test111;
{$MODE DELPHI}
interface
uses sysutils;
type
TTest<T> = packed object
             procedure foo(v:T);
           end;
implementation
procedure TTest<T>.foo;
begin
end;
end.

Michael Van Canneyt

2017-03-18 09:53

administrator   ~0099002

Fixed, thanks for reporting!

Andrey Zubarev

2017-03-18 10:53

reporter   ~0099006

Thanks!

Issue History

Date Modified Username Field Change
2017-03-17 20:55 Andrey Zubarev New Issue
2017-03-17 22:14 Michael Van Canneyt Note Added: 0098988
2017-03-17 22:14 Michael Van Canneyt Assigned To => Michael Van Canneyt
2017-03-17 22:14 Michael Van Canneyt Status new => assigned
2017-03-17 23:56 Andrey Zubarev Note Added: 0098993
2017-03-18 09:53 Michael Van Canneyt Fixed in Revision => 35616
2017-03-18 09:53 Michael Van Canneyt Note Added: 0099002
2017-03-18 09:53 Michael Van Canneyt Status assigned => resolved
2017-03-18 09:53 Michael Van Canneyt Fixed in Version => 3.1.1
2017-03-18 09:53 Michael Van Canneyt Resolution open => fixed
2017-03-18 09:53 Michael Van Canneyt Target Version => 3.2.0
2017-03-18 10:53 Andrey Zubarev Note Added: 0099006
2017-03-18 10:53 Andrey Zubarev Status resolved => closed