View Issue Details

IDProjectCategoryView StatusLast Update
0018592FPCCompilerpublic2011-01-24 03:14
ReporterAndrewH Assigned ToPaul Ishenin  
Status resolvedResolutionno change required 
Product Version2.5.1 
Summary0018592: compiler does not find enumerator added with operator
DescriptionHi the attached program add an enumerator for a fcl class in my local unit. Trying to use a for in loop fails with:
unit2.pas(45,24) Error: Cannot find an enumerator for the type "TDOMNamedNodeMap"

I had tried to use all this in the same unit as well but for this example I split it into two units.
TagsNo tags attached.
Fixed in Revision
Attached Files


2011-01-23 14:16 (128,519 bytes)

Paul Ishenin

2011-01-24 03:14

developer   ~0045434

enumerator class does not look as enumerator - it has no 'Current' property and instead it has 'Current' method.

Issue History

Date Modified Username Field Change
2011-01-23 14:16 AndrewH New Issue
2011-01-23 14:16 AndrewH Status new => assigned
2011-01-23 14:16 AndrewH Assigned To => Paul Ishenin
2011-01-23 14:16 AndrewH File Added:
2011-01-23 14:16 AndrewH FPCOldBugId => 0
2011-01-24 03:14 Paul Ishenin Status assigned => resolved
2011-01-24 03:14 Paul Ishenin Resolution open => no change required
2011-01-24 03:14 Paul Ishenin Note Added: 0045434