In our previous episode, Paul Ishenin said: > > Yet another bug: > > > > --- {$apptype console} > > type T = (a1, b1=5); > > var > > ch: T; > > begin > > for ch in T do Writeln(ch); > > end.
CodeGear Delphi for Win32 compiler version 20.0 Copyright (c) 1983,2008 CodeGear testx.dpr(6) Error: E2029 '(' expected but 'DO' found testx.dpr(7) Error: E2430 for-in statement cannot operate on collection type 'T' Since I suspected that D2009 doesn't work on sparse enums, I tried, and the above is the result. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel