Re: static foreach over enum symbols

2020-02-15 Thread Boris Carvajal via Digitalmars-d-learn
On Friday, 14 February 2020 at 22:24:14 UTC, Ben Jones wrote: Hi all, I'm getting unexpected results while trying to process symbols from a module, some of which are enums. Depending on whether or not I comment out the first static foreach loop below, fullyQualifiedName gives me different r

Re: static foreach over enum symbols

2020-02-15 Thread Boris Carvajal via Digitalmars-d-learn
On Friday, 14 February 2020 at 22:24:14 UTC, Ben Jones wrote: Hi all, I'm getting unexpected results while trying to process symbols from a module, some of which are enums. Depending on whether or not I comment out the first static foreach loop below, fullyQualifiedName gives me different r

static foreach over enum symbols

2020-02-14 Thread Ben Jones via Digitalmars-d-learn
Hi all, I'm getting unexpected results while trying to process symbols from a module, some of which are enums. Depending on whether or not I comment out the first static foreach loop below, fullyQualifiedName gives me different results in the second loop. In either case, I'm surprised I ca