[fpc-pascal] For .. in .. loops with sets and valued enums
Michael Van Canneyt
michael at freepascal.org
Sat Jun 20 12:01:52 CEST 2015
On Sat, 20 Jun 2015, Jonas Maebe wrote:
> On 20/06/15 11:41, Michael Van Canneyt wrote:
>> But it is a bug that the compiler does not give an error for the set
>> type. Please report it.
> Should it work with any set types at all? (I don't mean set variables,
> but set types) Or even with any type? It seems very much like something
> that was accidentally introduced, like what was reverted with
It should definitely work with sets, that was explicitly asked (I am sure, because I asked).
I use it in my code.
More information about the fpc-pascal