[fpc-pascal] For .. in .. loops with sets and valued enums

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Jun 20 11:54:31 CEST 2015


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
http://wiki.freepascal.org/User_Changes_2.6.0#.3COrdinal.3E_in_.3CSet_type.3E_is_now_forbidden


Jonas



More information about the fpc-pascal mailing list