View Issue Details

IDProjectCategoryView StatusLast Update
0030780FPCFCLpublic2016-11-12 22:26
ReporterMichalis KamburelisAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86-64OSDebian GNU/LinuxOS Version(testing)
Product Version3.1.1Product Build34762 
Target Version3.2.0Fixed in Version3.1.1 
Summary0030780: fcl-passrc fails to parse "readonly" property in dispinterface
DescriptionA property inside dispinterface can be declared readonly:

  property Translation: Integer readonly dispid 1;

FPC parses it OK, fcl-passrc doesn't:

$ fpc dispinterface_readonly_property.lpr
$ fpc test_passrc.lpr
$ ./test_passrc dispinterface_readonly_property.lpr
An unhandled exception occurred at $0000000000476ED5:
EParserError: Fields are not allowed in Interfaces at token "Identifier readonly" in file dispinterface_readonly_property.lpr at line 6 column 42
TagsNo tags attached.
Fixed in Revision34878
FPCOldBugId
FPCTarget
Attached Files

Activities

Michalis Kamburelis

2016-10-24 12:25

reporter  

dispinterface_readonly_property.lpr (322 bytes)

Michalis Kamburelis

2016-10-24 12:52

reporter  

test_passrc.lpr (2,184 bytes)

Michael Van Canneyt

2016-11-12 22:26

administrator   ~0095804

Fixed. Thanks for reporting!

Issue History

Date Modified Username Field Change
2016-10-24 12:25 Michalis Kamburelis New Issue
2016-10-24 12:25 Michalis Kamburelis File Added: dispinterface_readonly_property.lpr
2016-10-24 12:52 Michalis Kamburelis File Added: test_passrc.lpr
2016-10-24 16:32 Michael Van Canneyt Assigned To => Michael Van Canneyt
2016-10-24 16:32 Michael Van Canneyt Status new => assigned
2016-11-12 22:26 Michael Van Canneyt Fixed in Revision => 34878
2016-11-12 22:26 Michael Van Canneyt Note Added: 0095804
2016-11-12 22:26 Michael Van Canneyt Status assigned => resolved
2016-11-12 22:26 Michael Van Canneyt Fixed in Version => 3.1.1
2016-11-12 22:26 Michael Van Canneyt Resolution open => fixed
2016-11-12 22:26 Michael Van Canneyt Target Version => 3.2.0