View Issue Details

IDProjectCategoryView StatusLast Update
0034154FPCDocumentationpublic2018-08-21 10:39
ReporterUlrich EduardAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.0.4Product Build 
Target Version3.2.0Fixed in Version3.3.1 
Summary0034154: Suggestion for a small improvement of the explanation of ARRAY OF CONST
DescriptionThe explanation reads as follows:

This is a special case of the Open array construction, where it is allowed to pass any expression in an array to a function or procedure. The expression must have a simple result type: structures cannot be passed as an argument. This means that all ordinal, float or string types can be passed, as well as pointers, classes and interfaces.

It is stated that "structures cannot be passed" but it concluded that "classes" can be passed.

It would be very nice if there were a hint that classes are pointers.
TagsNo tags attached.
Fixed in Revision1505
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-08-21 10:39

administrator   ~0110185

Added a small remark. Thanks for reporting!

Issue History

Date Modified Username Field Change
2018-08-19 15:45 Ulrich Eduard New Issue
2018-08-19 15:45 Ulrich Eduard Status new => assigned
2018-08-19 15:45 Ulrich Eduard Assigned To => Michael Van Canneyt
2018-08-21 10:39 Michael Van Canneyt Fixed in Revision => 1505
2018-08-21 10:39 Michael Van Canneyt Note Added: 0110185
2018-08-21 10:39 Michael Van Canneyt Status assigned => resolved
2018-08-21 10:39 Michael Van Canneyt Fixed in Version => 3.3.1
2018-08-21 10:39 Michael Van Canneyt Resolution open => fixed
2018-08-21 10:39 Michael Van Canneyt Target Version => 3.2.0