View Issue Details

IDProjectCategoryView StatusLast Update
0037444FPCDocumentationpublic2020-07-29 14:36
ReporterKai Burghardt Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSGNU/Linux 
Product Version3.0.4 
Fixed in Version3.3.1 
Summary0037444: reference: explicit indices in enumeration type definitions both C-style as well as Delphi-style allowed
DescriptionIn the Reference Guide § Enumeration types:

The diagram and description mention that C-style explicit definition of indices using := is allowed, but also a plain = [i.e. _no_ colon] is allowed too.
Steps To Reproducetype
        number = (zero = 0);
        rebmun = (orez := 0);
Additional InformationFPC supports _both_ styles. This should be documented.
TagsNo tags attached.
Fixed in Revision1729
FPCOldBugId
FPCTarget3.2.2
Attached Files

Activities

Michael Van Canneyt

2020-07-29 14:36

administrator   ~0124396

Adapted, thanks for reporting!

Issue History

Date Modified Username Field Change
2020-07-29 12:13 Kai Burghardt New Issue
2020-07-29 12:13 Kai Burghardt Status new => assigned
2020-07-29 12:13 Kai Burghardt Assigned To => Michael Van Canneyt
2020-07-29 14:36 Michael Van Canneyt Status assigned => resolved
2020-07-29 14:36 Michael Van Canneyt Resolution open => fixed
2020-07-29 14:36 Michael Van Canneyt Fixed in Version => 3.3.1
2020-07-29 14:36 Michael Van Canneyt Fixed in Revision => 1729
2020-07-29 14:36 Michael Van Canneyt FPCTarget => 3.2.2
2020-07-29 14:36 Michael Van Canneyt Note Added: 0124396